update lsp config
This commit is contained in:
parent
47deec4656
commit
d0ffade8ce
3 changed files with 12 additions and 22 deletions
|
|
@ -142,6 +142,8 @@ vim.filetype.add({
|
|||
pattern = {
|
||||
-- INFO: Match filenames like - ".env.example", ".env.local" and so on
|
||||
["%.env%.[%w_.-]+"] = "dotenv",
|
||||
["compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||
["docker-compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||
[".*%.blade%.php"] = "blade",
|
||||
[".*%.hurl.*"] = "hurl",
|
||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
||||
|
|
@ -160,22 +162,6 @@ vim.lsp.config("rust-analyzer", {
|
|||
}
|
||||
})
|
||||
|
||||
vim.lsp.enable({
|
||||
"bashls",
|
||||
"biome",
|
||||
"fish_lsp",
|
||||
"gleam",
|
||||
"gopls",
|
||||
"hyprls",
|
||||
"intelephense",
|
||||
"jsonls",
|
||||
"kotlin_lsp",
|
||||
"lua_ls",
|
||||
"nushell",
|
||||
"pyright",
|
||||
"ruff",
|
||||
-- "rust_analyzer", -- managed by rustacean.nvim
|
||||
})
|
||||
|
||||
vim.lsp.inlay_hint.enable(true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue