feat: border config setting
This commit is contained in:
parent
13164d42bc
commit
f522d0f3bf
1 changed files with 77 additions and 75 deletions
|
@ -3,95 +3,97 @@
|
||||||
-- You can require null-ls if needed
|
-- You can require null-ls if needed
|
||||||
-- local null_ls = require('null-ls')
|
-- local null_ls = require('null-ls')
|
||||||
|
|
||||||
local config = {}
|
local config = {
|
||||||
|
-- See :h cmp-usage
|
||||||
|
autocomplete = {},
|
||||||
|
|
||||||
-- default statusline icon
|
-- See https://github.com/rmagatti/auto-session#%EF%B8%8F-configuration
|
||||||
config.statusline = {
|
auto_session = {},
|
||||||
main_icon = '★',
|
|
||||||
}
|
|
||||||
|
|
||||||
-- theming, don't forget to run :CosmicReloadSync when changing themes
|
-- See :h nvim_open_win for possible border options
|
||||||
-- 'catppuccin'
|
border = 'rounded',
|
||||||
-- 'dracula'
|
|
||||||
-- 'enfocado'
|
|
||||||
-- 'gruvbox'
|
|
||||||
-- 'nightfox'
|
|
||||||
-- 'nord'
|
|
||||||
-- 'onedark'
|
|
||||||
-- 'rose-pine'
|
|
||||||
config.theme = 'tokyonight' -- don't define or set to nil, if you want to enable your own theme in cosmic/config/plugins.lua
|
|
||||||
|
|
||||||
-- lsp settings
|
-- https://github.com/numToStr/Comment.nvim#configuration-optional
|
||||||
config.lsp = {
|
comments = {},
|
||||||
|
|
||||||
-- true/false or table of filetypes {'.ts', '.js',}
|
-- See https://github.com/CosmicNvim/cosmic-ui#%EF%B8%8F-configuration
|
||||||
format_on_save = true,
|
cosmic_ui = {},
|
||||||
|
|
||||||
-- set to false to disable rename notification
|
-- see :h vim.diagnostic.config for all diagnostic configuration options
|
||||||
rename_notification = true,
|
diagnostic = {},
|
||||||
|
|
||||||
servers = {
|
-- lsp settings
|
||||||
|
lsp = {
|
||||||
|
|
||||||
-- enable non-default servers, use default lsp config
|
-- true/false or table of filetypes {'.ts', '.js',}
|
||||||
-- check here for configs that will be used by default: https://github.com/williamboman/nvim-lsp-installer/tree/main/lua/nvim-lsp-installer/servers
|
format_on_save = true,
|
||||||
-- rust_analyzer = true,
|
|
||||||
|
|
||||||
tsserver = {
|
-- set to false to disable rename notification
|
||||||
-- disable formatting (defaults to true)
|
rename_notification = true,
|
||||||
format = false,
|
|
||||||
-- OR add/override server options
|
servers = {
|
||||||
opts = {
|
|
||||||
on_attach = function(client, bufnr) end,
|
-- enable non-default servers, use default lsp config
|
||||||
flags = {
|
-- check here for configs that will be used by default: https://github.com/williamboman/nvim-lsp-installer/tree/main/lua/nvim-lsp-installer/servers
|
||||||
debounce_text_changes = 150,
|
-- rust_analyzer = true,
|
||||||
|
|
||||||
|
tsserver = {
|
||||||
|
-- disable formatting (defaults to true)
|
||||||
|
format = false,
|
||||||
|
-- OR add/override server options
|
||||||
|
opts = {
|
||||||
|
on_attach = function(client, bufnr) end,
|
||||||
|
flags = {
|
||||||
|
debounce_text_changes = 150,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- See Cosmic defaults lsp/providers/null_ls.lua
|
||||||
|
null_ls = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- See Cosmic defaults lsp/providers/null_ls.lua
|
-- See Cosmic defaults lsp/providers/tsserver.lua
|
||||||
null_ls = {},
|
-- If adding additional sources, be sure to also copy the defaults that you would like to preserve from lsp/providers/null_ls.lua
|
||||||
|
ts_utils = {},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- See Cosmic defaults lsp/providers/tsserver.lua
|
-- See https://github.com/ray-x/lsp_signature.nvim#full-configuration-with-default-values
|
||||||
-- If adding additional sources, be sure to also copy the defaults that you would like to preserve from lsp/providers/null_ls.lua
|
lsp_signature = {},
|
||||||
ts_utils = {},
|
|
||||||
|
-- See https://github.com/L3MON4D3/LuaSnip/blob/577045e9adf325e58f690f4d4b4a293f3dcec1b3/README.md#config
|
||||||
|
luasnip = {},
|
||||||
|
|
||||||
|
-- default statusline icon
|
||||||
|
statusline = {
|
||||||
|
main_icon = '★',
|
||||||
|
},
|
||||||
|
|
||||||
|
-- See :h telescope.setup
|
||||||
|
telescope = {},
|
||||||
|
|
||||||
|
-- theming, don't forget to run :CosmicReloadSync when changing themes
|
||||||
|
-- 'catppuccin'
|
||||||
|
-- 'dracula'
|
||||||
|
-- 'enfocado'
|
||||||
|
-- 'gruvbox'
|
||||||
|
-- 'nightfox'
|
||||||
|
-- 'nord'
|
||||||
|
-- 'onedark'
|
||||||
|
-- 'rose-pine'
|
||||||
|
theme = 'tokyonight', -- don't define or set to nil, if you want to enable your own theme in cosmic/config/plugins.lua
|
||||||
|
|
||||||
|
-- See https://github.com/folke/todo-comments.nvim#%EF%B8%8F-configuration
|
||||||
|
todo_comments = {},
|
||||||
|
|
||||||
|
-- See :h nvim-treesitter-quickstart
|
||||||
|
treesitter = {},
|
||||||
|
|
||||||
|
-- See :h notify.setup
|
||||||
|
notify = {},
|
||||||
|
|
||||||
|
-- See :h nvim-tree.setup
|
||||||
|
nvim_tree = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- See :h cmp-usage
|
|
||||||
config.autocomplete = {}
|
|
||||||
|
|
||||||
-- See https://github.com/rmagatti/auto-session#%EF%B8%8F-configuration
|
|
||||||
config.auto_session = {}
|
|
||||||
|
|
||||||
-- https://github.com/numToStr/Comment.nvim#configuration-optional
|
|
||||||
config.comments = {}
|
|
||||||
|
|
||||||
-- See https://github.com/CosmicNvim/cosmic-ui#%EF%B8%8F-configuration
|
|
||||||
config.cosmic_ui = {
|
|
||||||
-- see :h vim.diagnostic.config for all diagnostic configuration options
|
|
||||||
-- see Cosmic-ui defaults: https://github.com/CosmicNvim/cosmic-ui/blob/main/lua/cosmic-ui/diagnostics/init.lua
|
|
||||||
diagnostic = {},
|
|
||||||
}
|
|
||||||
|
|
||||||
-- See https://github.com/ray-x/lsp_signature.nvim#full-configuration-with-default-values
|
|
||||||
config.lsp_signature = {}
|
|
||||||
|
|
||||||
-- See https://github.com/L3MON4D3/LuaSnip/blob/577045e9adf325e58f690f4d4b4a293f3dcec1b3/README.md#config
|
|
||||||
config.luasnip = {}
|
|
||||||
|
|
||||||
-- See :h telescope.setup
|
|
||||||
config.telescope = {}
|
|
||||||
|
|
||||||
-- See https://github.com/folke/todo-comments.nvim#%EF%B8%8F-configuration
|
|
||||||
config.todo_comments = {}
|
|
||||||
|
|
||||||
-- See :h nvim-treesitter-quickstart
|
|
||||||
config.treesitter = {}
|
|
||||||
|
|
||||||
-- See :h notify.setup
|
|
||||||
config.notify = {}
|
|
||||||
|
|
||||||
-- See :h nvim-tree.setup
|
|
||||||
config.nvim_tree = {}
|
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
Loading…
Add table
Reference in a new issue