Add lean and ruby lsp

This commit is contained in:
lol3rrr
2026-04-27 22:58:45 +02:00
parent 6aabc394d1
commit 74260b1813
4 changed files with 69 additions and 42 deletions

View File

@@ -50,44 +50,46 @@ vim.lsp.enable('tsserver')
-- },
-- },
--})
vim.lsp.enable('ruby-lsp')
-- Setup Treesitter
require'nvim-treesitter'.setup {
-- Directory to install parsers and queries to (prepended to `runtimepath` to have priority)
install_dir = vim.fn.stdpath('data') .. '/site'
}
require'nvim-treesitter'.install {
"bash",
"c",
"diff",
"html",
"hcl",
"javascript",
"jsdoc",
"json",
--"jsonc",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"terraform",
"vim",
"vimdoc",
"xml",
"yaml",
"rust",
"toml",
"ron",
"hcl",
"terraform"
}
--require'nvim-treesitter'.install {
-- "bash",
-- "c",
-- "diff",
-- "html",
-- "hcl",
-- "javascript",
-- "jsdoc",
-- "json",
-- --"jsonc",
-- "lua",
-- "luadoc",
-- "luap",
-- "markdown",
-- "markdown_inline",
-- "python",
-- "query",
-- "regex",
-- "toml",
-- "tsx",
-- "typescript",
-- "terraform",
-- "vim",
-- "vimdoc",
-- "xml",
-- "yaml",
-- "rust",
-- "toml",
-- "ron",
-- "hcl",
-- "terraform"
-- }
vim.diagnostic.config({ virtual_text = true })