mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-15 03:40:20 +01:00
nvim: rsh support
This commit is contained in:
parent
ed6d07c21a
commit
2ce5f65166
3 changed files with 36 additions and 56 deletions
|
|
@ -1,5 +1,13 @@
|
|||
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"}
|
||||
},
|
||||
}
|
||||
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = {"rust", "c", "cpp", "json", "lua", "python", "toml", "latex", "nix", "vue", "javascript", "dart"},
|
||||
ensure_installed = {"rust", "c", "cpp", "json", "lua", "python", "toml", "latex", "nix", "vue", "javascript", "dart", "rsh"},
|
||||
ident = {
|
||||
enable = true
|
||||
},
|
||||
|
|
@ -18,4 +26,3 @@ require'nvim-treesitter.configs'.setup {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue