update lsp config
This commit is contained in:
parent
47deec4656
commit
d0ffade8ce
3 changed files with 12 additions and 22 deletions
|
|
@ -11,7 +11,8 @@
|
||||||
"hardtime.nvim": { "branch": "main", "commit": "3541ad24faff78274669eceaf130502eb7f1261a" },
|
"hardtime.nvim": { "branch": "main", "commit": "3541ad24faff78274669eceaf130502eb7f1261a" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" },
|
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "b1d9a914b02ba5660f1e272a03314b31d4576fe2" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
"mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" },
|
||||||
"neogen": { "branch": "main", "commit": "dc50715c009f89b8111197fd2f282f6042daa7ea" },
|
"neogen": { "branch": "main", "commit": "dc50715c009f89b8111197fd2f282f6042daa7ea" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
|
|
@ -19,7 +20,7 @@
|
||||||
"nvim-dap-view": { "branch": "main", "commit": "390dae6bf67f3342ebb481159932ef0fe54822ba" },
|
"nvim-dap-view": { "branch": "main", "commit": "390dae6bf67f3342ebb481159932ef0fe54822ba" },
|
||||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
|
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
|
||||||
"nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" },
|
"nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "f47cd681d7cb6048876a2e908b6d8ba1e530d152" },
|
"nvim-lspconfig": { "branch": "master", "commit": "c8503e63c6afab3ed34b49865a4a4edbb1ebf4a8" },
|
||||||
"nvim-treesitter": { "branch": "main", "commit": "802195d8f1980db25a7a39a55f9a25df21756c73" },
|
"nvim-treesitter": { "branch": "main", "commit": "802195d8f1980db25a7a39a55f9a25df21756c73" },
|
||||||
"nvim-treesitter-context": { "branch": "master", "commit": "66a9b5fa9e806918b5fe3dba00c6cce7e230abd2" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "66a9b5fa9e806918b5fe3dba00c6cce7e230abd2" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "1b2d85d3de6114c4bcea89ffb2cd1ce9e3a19931" },
|
"nvim-treesitter-textobjects": { "branch": "main", "commit": "1b2d85d3de6114c4bcea89ffb2cd1ce9e3a19931" },
|
||||||
|
|
|
||||||
|
|
@ -142,6 +142,8 @@ vim.filetype.add({
|
||||||
pattern = {
|
pattern = {
|
||||||
-- INFO: Match filenames like - ".env.example", ".env.local" and so on
|
-- INFO: Match filenames like - ".env.example", ".env.local" and so on
|
||||||
["%.env%.[%w_.-]+"] = "dotenv",
|
["%.env%.[%w_.-]+"] = "dotenv",
|
||||||
|
["compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||||
|
["docker-compose.*%.ya?ml"] = "yaml.docker-compose",
|
||||||
[".*%.blade%.php"] = "blade",
|
[".*%.blade%.php"] = "blade",
|
||||||
[".*%.hurl.*"] = "hurl",
|
[".*%.hurl.*"] = "hurl",
|
||||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
[".*/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)
|
vim.lsp.inlay_hint.enable(true)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
return {
|
return {
|
||||||
'neovim/nvim-lspconfig',
|
|
||||||
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
|
||||||
{
|
{
|
||||||
"mason-org/mason.nvim",
|
"mason-org/mason-lspconfig.nvim",
|
||||||
opts = {}
|
opts = {},
|
||||||
|
dependencies = {
|
||||||
|
{ "mason-org/mason.nvim", opts = {} },
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
||||||
{
|
{
|
||||||
"ckolkey/ts-node-action",
|
"ckolkey/ts-node-action",
|
||||||
dependencies = { "nvim-treesitter" },
|
dependencies = { "nvim-treesitter" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue