mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-26 19:29:20 +09:00
update: nvim: add satysfi tree-sitter
This commit is contained in:
parent
a7c98c7cbb
commit
1ede90b7ec
2 changed files with 19 additions and 0 deletions
|
@ -119,7 +119,22 @@ require('lualine_setup')
|
|||
-----------------------------------------------------------
|
||||
-- Treesitter
|
||||
-- manually install parsers with `:TSInstall <language>`
|
||||
|
||||
-- satysfi (https://github.com/monaqa/tree-sitter-satysfi)
|
||||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
parser_config.satysfi = {
|
||||
install_info = {
|
||||
url = "https://github.com/monaqa/tree-sitter-satysfi",
|
||||
files = { "src/parser.c", "src/scanner.c" }
|
||||
},
|
||||
filetype = 'satysfi',
|
||||
}
|
||||
|
||||
-- setup
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
ensure_installed = {
|
||||
'satysfi',
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue