Commit graph

4044 commits

Author SHA1 Message Date
Yuki Ito
ec97c5ec72
fear(go): add clear to @function.builtin 2023-05-26 09:51:51 -04:00
Pham Huy Hoang
5781c94703
feat: markdown indents (#4862) 2023-05-26 08:08:06 +00:00
Matthias Q
dae928b3bb
indents(sql): initial support (#4857)
* indents(sql): initial support

* indents(sql): fix queries and lua style
2023-05-25 05:53:14 +00:00
GitHub
9bef726044 Update parsers: c, cuda, scala, t32 2023-05-24 14:22:56 +02:00
Pham Huy Hoang
ad75d3c4bd fix(indent): return early if query doesn't exist 2023-05-24 13:57:08 +02:00
Matthias Queitsch
b8ddb83d60 highlights(sql): add keyword overwrite 2023-05-23 21:08:50 -04:00
mohsen
f2778bd1a2 highlights(go): add some highlights
- added missing operators
- added iota constant
- added comparable type
- edited  go keyword types
2023-05-21 20:04:40 +02:00
Christian Clason
741260618d highlights(query): prefer lua-match 2023-05-21 19:22:05 +02:00
GitHub
18c393108e Update parsers: cuda, glsl, hlsl, ispc, objc, ocaml, ocaml_interface 2023-05-21 09:50:59 +02:00
Github Actions
1557f5cb9a Update README 2023-05-20 22:04:29 -04:00
fab4100
8e817bebf9
feat: add Intel Implicit SPMD Program Compiler (ISPC)
* Add ISPC parser config

* Add ISPC queries

* Update queries/ispc/injections.scm

Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>

---------

Co-authored-by: Fabian Wermelinger <fab4100@posteo.net>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2023-05-20 21:52:54 -04:00
fab4100
8e59b4919d
fear(cpp): highlight brackets in template_parameter_list 2023-05-20 14:41:54 -04:00
GitHub
3d5fe8caf8 Update parsers: c, gitcommit, scala, sql 2023-05-20 10:02:48 +02:00
Amaan Qureshi
cbfb03bba5 chore(objc): update folds 2023-05-20 03:52:08 -04:00
Amaan Qureshi
dad1b7cd66 feat: add Objective-C 2023-05-19 12:24:38 -04:00
GitHub
05df88ebaa Update parsers: dart 2023-05-19 09:19:01 +02:00
Ananda Umamil
a02a06a068 highlights(typescript): : in switch statement 2023-05-18 21:34:42 -04:00
Emilia Simmons
58da7fe93e allow no spaces for extend/inherit comments 2023-05-18 20:01:00 -04:00
Emilia Simmons
0058058386 add multiple ; for highlighting 2023-05-18 20:01:00 -04:00
Emilia Simmons
865483f8d1 fix(query): allow multiline modeline (inherits/extends) 2023-05-18 20:01:00 -04:00
Pham Huy Hoang
1aea2eee29
refactor: add notes for swift
Also add enum_class_body
2023-05-19 00:57:18 +09:00
GitHub
4d0520ee09 Update parsers: c_sharp, erlang, glsl, hlsl, nickel, t32 2023-05-18 10:46:34 +02:00
Christoph Sax
16cce8df58
feat(t32): add indent rules (#4782) 2023-05-18 16:40:13 +09:00
Pham Huy Hoang
102f1b2f55 fixup: use correct require syntax 2023-05-17 15:35:28 +02:00
Christian Clason
fa23ff4bd7 refactor(indent): backport improvements from main
* replace ts_utils.memoize_by_buftick by simpler implementation
* simplify construction of hash map
* prefer Neovim APIs
2023-05-17 15:25:35 +02:00
GitHub
aa44e5fc5f Update parsers: c 2023-05-17 08:50:04 +02:00
Pham Huy Hoang
d2b78324f2 fix indent/fold memleak 2023-05-16 13:25:02 +02:00
GitHub
26230f06b6 Update parsers: dart, gitcommit, usd 2023-05-16 09:44:08 +02:00
Matthias Queitsch
27079f7060 highlights(sql): refactor count to generic invocation 2023-05-15 20:00:22 -04:00
Christian Clason
95850f7964 fix: force upstreamed predicates 2023-05-15 22:31:28 +02:00
Pham Huy Hoang
217467c262 remove unnecessary ft aus
specify specific plugin files to load
2023-05-15 09:59:24 +02:00
Colin Kennedy
4c35c0b75d Added USD as a language + some queries
Added USD highlight unittests

Added USD indentation

Added USD indents.scm file

Added USD indent rules

Simplified USD highlight groups

Added explicit highlight groups

Added newline

Removed after/ftdetect/usda.lua

usd/indents.scm - Added inline comments explaining the nodes

Fixed USD highlight group unittests

Added indentation unittests

Simplified USD `@identifier` highlighting

Added USD documentation highlight group tests

Simplified USD highlight groups

Moved USD `@identifier` and `@namespace` highlights into one place

Removed and simplified tests/query/highlights/usd

Simplified tests/query/highlights/usd more

Removed trailing newline

Combined USD test files

Added `set filetype=usd` to minimal_init.lua
2023-05-15 09:28:11 +02:00
GitHub
3b0c133c31 Update parsers: dart, query 2023-05-15 02:54:45 -04:00
Christian Clason
680807fa6a highlights(markup): distinguish heading level in queries
also add a few queries from Helix and remove controversial
code block conceal in Markdown
2023-05-13 16:50:32 +02:00
GitHub
15300c1a10 Update parsers: bicep, c_sharp, cpon, func, gosum, hare, kdl, lua, luadoc, luap, puppet, smali 2023-05-13 02:50:24 -04:00
Amaan Qureshi
40d373adcd feat: add Odin 2023-05-13 02:49:07 -04:00
Amaan Qureshi
a67a4ab642 feat(func): update highlights 2023-05-13 02:11:04 -04:00
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
Amaan Qureshi
ec0d0ffe51 feat(cpon): update queries 2023-05-13 00:56:40 -04:00
Zheng PiaoDan
32d0baae44
feat: add indents.scm for nickel (#4790) 2023-05-13 02:49:39 +09:00
GitHub
7e1cb38c38 Update parsers: lua, t32 2023-05-12 09:19:01 +02:00
Gregg Jansen van Vüren
39cf5cbcfd
feat(java): add more foldable nodes 2023-05-11 15:27:43 -04:00
GitHub
f5182b51f7 Update parsers: latex, lua 2023-05-11 20:05:21 +02:00
GitHub
957aefe814 Update parsers: cuda, hlsl, t32 2023-05-11 09:10:11 +02:00
GitHub
73c7af9cdb Update parsers: c_sharp 2023-05-10 18:01:39 +02:00
ObserverOfTime
f9cfd40c08 comment: remove user mention highlight 2023-05-10 18:53:57 +03:00
GitHub
78b3a82293 Update parsers: cpp, t32 2023-05-10 08:58:31 +02:00
Amaan Qureshi
6e8ad92031 feat(typescript): add non-null operator 2023-05-09 09:14:28 -04:00
Amaan Qureshi
a79baf0399 fix(typescript): remove duplicate capture 2023-05-09 09:14:28 -04:00
Amaan Qureshi
5182759e17 style(rust): better formatting 2023-05-09 08:33:38 -04:00