mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
parser(vlang): fix location of remote repo
This commit is contained in:
parent
010f364295
commit
c19d14f395
3 changed files with 11 additions and 13 deletions
|
|
@ -1070,8 +1070,9 @@ list.proto = {
|
|||
|
||||
list.v = {
|
||||
install_info = {
|
||||
url = "~/sources/vls/tree_sitter_v",
|
||||
url = "https://github.com/vlang/vls",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
location = "tree-sitter-v/tree_sitter_v",
|
||||
generate_requires_npm = false,
|
||||
requires_generate_from_grammar = false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
;; WARNING: Doesn't seems to work ..
|
||||
[(function_declaration)
|
||||
(const_declaration)
|
||||
(type_declaration)
|
||||
(var_declaration)
|
||||
(import_declaration)
|
||||
(if_expression)
|
||||
(struct_declaration)] @fold
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
[(import_declaration
|
||||
(const_declaration)
|
||||
(var_declaration)
|
||||
(type_declaration)
|
||||
(literal_value)
|
||||
(type_initializer)
|
||||
(block)
|
||||
(map)
|
||||
(call_expression)
|
||||
(parameter_list))]
|
||||
[(import_declaration)
|
||||
(const_declaration)
|
||||
(type_declaration)
|
||||
(literal_value)
|
||||
(type_initializer)
|
||||
(block)
|
||||
(map)
|
||||
(call_expression)
|
||||
(parameter_list)]
|
||||
@indent
|
||||
|
||||
[ "}"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue