nvim/lua/cosmic/config/config.lua
2021-10-25 08:55:52 -07:00

37 lines
595 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
eslint = false,
-- enable non-default servers (todo: support for custom server configs)
rust_analyzer = true,
efm = {
-- specifc to efm, e.g. 'eslint', 'prettier', 'lua'
disable_formatters = {},
},
tsserver = {
-- disable formatting all together
format = false,
}
}
}
return config
]]