This commit is contained in:
2024-05-04 21:47:39 +00:00
parent 4a7f9a11df
commit 17e8e73abf
4 changed files with 78 additions and 11 deletions

View File

@@ -17,6 +17,7 @@ return {
-- css and html
{ import = "astrocommunity.pack.json" },
-- AI Copylot
{ import = "astrocommunity.completion.copilot-lua" },
-- extended diagnostic
{ import = "astrocommunity.diagnostics.lsp_lines-nvim" },
}

View File

@@ -22,25 +22,21 @@ return {
-- control auto formatting on save
format_on_save = {
enabled = true, -- enable or disable format on save globally
allow_filetypes = { -- enable format on save for specified filetypes only
-- "go",
},
ignore_filetypes = { -- disable format on save for specified filetypes
-- "python",
},
},
disabled = { -- disable formatting capabilities for the listed language servers
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
-- "lua_ls",
"lua_ls",
},
timeout_ms = 1000, -- default format timeout
timeout_ms = 4000, -- default format timeout
-- filter = function(client) -- fully override the default formatting function
-- return true
-- end
},
-- enable servers that you already have installed without mason
servers = {
-- "pyright"
"pyright",
"black",
"isort"
},
-- customize language server configuration options passed to `lspconfig`
---@diagnostic disable: missing-fields

4
lua/plugins/codeium.lua Normal file
View File

@@ -0,0 +1,4 @@
return {
'Exafunction/codeium.vim',
event = 'BufEnter'
}