diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/plugin/treesitter.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua index 77a3218..ce7f273 100644 --- a/.config/nvim/after/plugin/treesitter.lua +++ b/.config/nvim/after/plugin/treesitter.lua @@ -1,8 +1,18 @@ +local config = require('nvim-treesitter.parsers').get_parser_configs() +config.gsp = { + install_info = { + url = 'https://git.sr.ht/~mango/tree-sitter-gsp', + files = {'src/parser.c'}, + }, + filetype = 'gsp', +} + require('nvim-treesitter.configs').setup { ensure_installed = { 'c', 'go', 'gomod', + 'gsp', 'html', 'lua', 'python', |