File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -648,9 +648,15 @@ comment-token = "#"
648648language-servers = [ " nls" ]
649649indent = { tab-width = 2 , unit = " " }
650650
651+ [language .auto-pairs ]
652+ '(' = ' )'
653+ '{' = ' }'
654+ '[' = ' ]'
655+ '"' = ' "'
656+
651657[[grammar ]]
652658name = " nickel"
653- source = { git = " https://github.com/nickel-lang/tree-sitter-nickel" , rev = " 9d83db400b6c11260b9106f131f93ddda8131933 " }
659+ source = { git = " https://github.com/nickel-lang/tree-sitter-nickel" , rev = " 3a794388773f2424a97b2186828aa3fac4c66ce6 " }
654660
655661[[language ]]
656662name = " nix"
Original file line number Diff line number Diff line change 2020)
2121
2222(record_operand (atom (ident) @variable ))
23- (let_expr
23+ (let_in_block
2424 "let" @keyword
2525 "rec"? @keyword
2626 pat: (pattern
5353(interpolation_end) @punctuation.bracket
5454
5555["forall" "default" "doc"] @keyword
56- ["if" "then" "else" "switch "] @keyword.control.conditional
56+ ["if" "then" "else" "match "] @keyword.control.conditional
5757"import" @keyword.control.import
5858
5959(infix_expr
Original file line number Diff line number Diff line change 11[
22 (fun_expr)
33 (let_expr)
4- (switch_expr )
4+ (match_expr )
55 (ite_expr)
66
77 (uni_record)
Original file line number Diff line number Diff line change 1+ (annot_atom doc: (static_string)
2+ @injection.content
3+ (#set! injection.language "markdown"))
You can’t perform that action at this time.
0 commit comments