Add lean and ruby lsp
This commit is contained in:
66
init.lua
66
init.lua
@@ -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 })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user