Update lsp config
This commit is contained in:
parent
1a5459aaa8
commit
5c942edffe
|
@ -88,7 +88,6 @@ return {
|
|||
lazy = false,
|
||||
config = function(_, opts)
|
||||
require('blink.cmp').setup(opts)
|
||||
local lspconfig = require('lspconfig')
|
||||
local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex",
|
||||
"quarto", "rmd", "context", "html", "xhtml", "typst", "mail" }
|
||||
local lsp_opts = {
|
||||
|
@ -196,7 +195,8 @@ return {
|
|||
}
|
||||
for server, config in pairs(lsp_opts.servers) do
|
||||
config.capabilities = require('blink.cmp').get_lsp_capabilities(config.capabilities)
|
||||
lspconfig[server].setup(config)
|
||||
vim.lsp.enable(server)
|
||||
vim.lsp.config(server, config)
|
||||
end
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false
|
||||
|
|
Loading…
Reference in New Issue