nvim/lua/cosmic/config/config.lua
2021-10-25 11:28:31 -07:00

37 lines
598 B
Lua

-- Override Cosmic configuration options
--[[
local config = {}
config.statusline = {
main_icon = '★',
}
config.lsp = {
-- true/false or table of filetypes {'.ts', '.js',}
format_on_save = false,
servers = {
-- enable/disable server + formatting
eslint = false,
-- enable non-default servers (todo: support for custom server configs)
rust_analyzer = true,
tsserver = {
-- disable formatting
format = false,
}
efm = {
-- specifc to efm, e.g. 'eslint', 'prettier', 'stylua'
disable_formatters = {},
},
}
}
return config
]]