feat(config): default config
This commit is contained in:
parent
cd5cee0342
commit
554593e526
2 changed files with 15 additions and 0 deletions
15
lua/cosmic/config/init.lua
Normal file
15
lua/cosmic/config/init.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
local config = require('cosmic.config.config')
|
||||
|
||||
local default_config = {
|
||||
lsp = {
|
||||
format_on_save = false,
|
||||
servers = {
|
||||
eslint = true,
|
||||
efm = {
|
||||
disable_formatters = { 'eslint', },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
return vim.tbl_deep_extend('force', default_config, config)
|
Loading…
Add table
Reference in a new issue