feat(config): clean up readme

This commit is contained in:
Matt Leong 2021-11-05 17:28:30 -07:00
parent a96c4cc23d
commit 800110124d
2 changed files with 8 additions and 7 deletions

View file

@ -4,14 +4,19 @@
local config = {} local config = {}
-- auto session settings
-- see Cosmic defaults: core/session/init.lua
config.session = {}
-- statusline settings -- statusline settings
config.statusline = { config.statusline = {
main_icon = '', main_icon = '',
} }
See cosmic defaults: cosmic/core/treesitter/init.lua -- see Cosmic defaults: core/treesitter/init.lua
config.treesitter = {} config.treesitter = {}
-- lsp Settings
config.lsp = { config.lsp = {
-- true/false or table of filetypes {'.ts', '.js',} -- true/false or table of filetypes {'.ts', '.js',}
@ -21,9 +26,8 @@ config.lsp = {
rename_notification = false, rename_notification = false,
-- see :h vim.diagnostic.config for all diagnostic configuration options -- see :h vim.diagnostic.config for all diagnostic configuration options
-- see cosmic defaults: cosmic/lsp/diagnostics.lua -- see Cosmic defaults: lsp/diagnostics.lua
diagnostic = { diagnostic = {},
},
servers = { servers = {

View file

@ -12,9 +12,6 @@ end
-- these settings will be merged with any settings definined in config.lua -- these settings will be merged with any settings definined in config.lua
local default_config = { local default_config = {
statusline = {
main_icon = require('cosmic.core.theme.icons').ghost,
},
lsp = { lsp = {
format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',} format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',}
rename_notification = true, rename_notification = true,