mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-10 22:51:12 +01:00
formatting
This commit is contained in:
parent
1628ad7519
commit
04451fa63d
6 changed files with 231 additions and 207 deletions
|
|
@ -1,19 +1,33 @@
|
|||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
parser_config.rsh = {
|
||||
install_info = {
|
||||
url = "https://github.com/traxys/tree-sitter-rsh/", -- local path or git repo
|
||||
files = {"src/parser.c"}
|
||||
},
|
||||
install_info = {
|
||||
url = "https://github.com/traxys/tree-sitter-rsh/", -- local path or git repo
|
||||
files = { "src/parser.c" },
|
||||
},
|
||||
}
|
||||
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = {"rust", "c", "cpp", "json", "lua", "python", "toml", "latex", "nix", "vue", "javascript", "dart", "rsh"},
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"rust",
|
||||
"c",
|
||||
"cpp",
|
||||
"json",
|
||||
"lua",
|
||||
"python",
|
||||
"toml",
|
||||
"latex",
|
||||
"nix",
|
||||
"vue",
|
||||
"javascript",
|
||||
"dart",
|
||||
"rsh",
|
||||
},
|
||||
ident = {
|
||||
enable = true
|
||||
enable = true,
|
||||
},
|
||||
highlight = {
|
||||
enable = true, -- false will disable the whole extension
|
||||
disable = {"elixir", "teal"}, -- list of language that will be disabled
|
||||
enable = true, -- false will disable the whole extension
|
||||
disable = { "elixir", "teal" }, -- list of language that will be disabled
|
||||
},
|
||||
refactor = {
|
||||
highlight_definitions = { enable = true },
|
||||
|
|
@ -25,4 +39,4 @@ require'nvim-treesitter.configs'.setup {
|
|||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue