Commit graph

5 commits

Author SHA1 Message Date
Zheng PiaoDan
dba8c8e781
fix(nickel): wrong indent on line after top level comment (#4792)
* fix(nickel): wrong indent on line after top level comment

Previous incorrect indentation on line after top level comment:

```
# no indent after this comment
  {
  another = 1
}
```

Expected result:

```
# no indent after this comment
{
  another = 1
}
````
2023-05-13 15:03:05 +09:00
Zheng PiaoDan
32d0baae44
feat: add indents.scm for nickel (#4790) 2023-05-13 02:49:39 +09:00
Stephan Seitz
bf5be49d99 fix(nickel): follow upstream change in https://github.com/nickel-lang/tree-sitter-nickel/pull/13/files#diff-d485a982e458ef8da2cc203585065b7542665cb80b78d230b1e8f77ea25825d4 2023-01-11 21:49:29 +01:00
José Luis Lafuente
57e02f7b97 nickel: use @boolean 2022-10-20 12:19:26 -07:00
José Luis Lafuente
470b872d57
parsers: add nickel parser (#3506)
* parsers: add nickel parser

* Update lua/nvim-treesitter/parsers.lua

Co-authored-by: Christian Clason <christian.clason@uni-due.de>

* Update queries/nickel/highlights.scm

Co-authored-by: Christian Clason <christian.clason@uni-due.de>

* fix queries

* Cleanup (based on @theHamsta review)

Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2022-10-19 23:33:31 +00:00