fixed deprecated warning in treesitter
This commit is contained in:
parent
f15e1d7cf4
commit
3bcd87638d
@ -44,8 +44,7 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
local parser = require('nvim-treesitter.parsers').filetype_to_parsername
|
||||
parser.groovy = 'java' -- the someft filetype will use the python parser and queries.
|
||||
vim.treesitter.language.register('groovy', 'java')
|
||||
require('nvim-treesitter.install').prefer_git = true
|
||||
end
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user