Commit graph

1645 commits

Author SHA1 Message Date
Sergio Alejandro Vargas
524faffe63 highlights(lua): Add semicolons 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
5cc225af44 fix(vim): highlight more punctuation 2021-09-17 21:06:36 +02:00
Thomas Vigouroux
1877e03bfa feat: add support for vim 2021-09-17 21:06:36 +02:00
Santos Gallegos
9c5dd185c4 Lua: highlight uppercase variables as constants (#1690) 2021-09-17 21:06:36 +02:00
jpe90
159ca7b35c Add comment highlighting for keywords in Haskell (#1695)
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-09-17 21:06:36 +02:00
github-actions[bot]
bafc5fa030 Update lockfile.json (#1689)
Co-authored-by: GitHub <noreply@github.com>
2021-09-17 21:06:36 +02:00
Santos Gallegos
975e54d067 Query: update locals (#1692) 2021-09-17 21:06:36 +02:00
Santos Gallegos
c11800dec1 Query: highlight numbers 2021-09-17 21:06:36 +02:00
Connor Lay (Clay)
6d1a06fd9c Fix: Improve Elixir highlighting performance (#1682) 2021-09-17 21:06:36 +02:00
GitHub
3fad6558c9 Update lockfile.json 2021-09-17 21:06:36 +02:00
maxxnino
aa5ee99cf1 highlights(zig): label, switch item, operator, punctuation, field property (#1685)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-09-17 21:06:36 +02:00
Github Actions
fdeef11df5 [docgen] Update README.md
skip-checks: true
2021-09-17 21:06:36 +02:00
delphinus
2c49c9af64 Enable to highlight shebang on JS/TS 2021-09-17 21:06:36 +02:00
GitHub
74e14786e5 Update lockfile.json 2021-09-17 21:06:36 +02:00
maxxnino
93330999e3 Update locklife.json 2021-09-17 21:06:36 +02:00
maxxnino
9b265c9c4c Update new query and parser for zig 2021-09-17 21:06:36 +02:00
GitHub
1e19898703 Update lockfile.json 2021-09-17 21:06:36 +02:00
Yorick Peterse
76bf941e09 Fix instance and singleton method locals for Ruby
Ruby singleton methods (`def x.y ... end`) weren't covered in the list
of locals. In addition, instance methods didn't support names that are
capitalised (`def Integer ... end`).

This commit ensures that both instance and singleton methods are
supported, and that both support identifiers and constants as their
names. This ensures that all following examples are covered:

    def foo; end
    def FOO; end
    def self.bar; end
    def self.BAR; end
2021-09-17 21:06:36 +02:00
github-actions[bot]
ee9d8cea45 Update lockfile.json (#1679)
Co-authored-by: GitHub <noreply@github.com>
2021-09-17 21:06:36 +02:00
Santos Gallegos
4c40a46a6d RST: use any-of? instead of match? (#1678) 2021-09-17 21:06:36 +02:00
Santos Gallegos
576f14d2ee RST: add code-block to injections (#1677)
This isn't part of the rst spec,
but it's common enough on third party libs (sphinx specially).
2021-09-17 21:06:36 +02:00
github-actions[bot]
7973eb8a61 Update lockfile.json (#1676)
Co-authored-by: GitHub <noreply@github.com>
2021-09-17 21:06:36 +02:00
Santos Gallegos
e4101c7223 CI: fix update lockfile job
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1661#issuecomment-894722369
2021-09-17 21:06:36 +02:00
Munif Tanjim
aa74cc50d6 feat: allow 'revision' override in parser config (#1661) 2021-09-17 21:06:36 +02:00
GitHub
a929c2fe73 Update lockfile.json 2021-09-17 21:06:36 +02:00
GitHub
6443fde4b6 Update lockfile.json 2021-09-17 21:06:36 +02:00
Luxed
182b7be541 fix(c_sharp): Improve highlights 2021-09-17 21:06:36 +02:00
Luxed
aa1424fabc feat(c_sharp): Simplify folds by only folding blocks of code instead of
folding the methods and their attributes
2021-09-17 21:06:36 +02:00
Luxed
777a2bf28a feat(c_sharp): Add first draft of locals 2021-09-17 21:06:36 +02:00
Gregory Anders
71494d8dee Add zig ftdetect file 2021-09-17 21:06:36 +02:00
maxxnino
b20a072cc0 highlights(zig): function return type, var decl type 2021-09-17 21:06:36 +02:00
maxxnino
357a91375d highlights(zig): highlight enum,union,error and custom number type
* highlight enum field as a constant
 * highlight cImport and constructor
 * highlight else_switch

enum constant
2021-09-17 21:06:36 +02:00
Github Actions
bbc96c9515 [docgen] Update README.md
skip-checks: true
2021-09-17 21:06:36 +02:00
Munif Tanjim
75e7ab4297 fix: query_predicate - nth 2021-09-17 21:06:36 +02:00
Sergio Alejandro Vargas
d8a1f3be65 highlights(lua): Organize function_call queries 2021-09-17 21:06:36 +02:00
Sergio Alejandro Vargas
e29bf132dd highlights(lua): Fix method calls
The usual `function_call` query would highlight the objects at the
beginning of a method call. The `method` query has to account for this,
and highlight the identifier as a variable again.
2021-09-17 21:06:36 +02:00
GitHub
d251af7e6c Update lockfile.json 2021-09-17 21:06:36 +02:00
Stephan Seitz
fb20cf868b Update teal highlights 2021-09-17 21:06:36 +02:00
GitHub
740ff78a97 Update lockfile.json 2021-09-17 21:06:36 +02:00
Connor Lay (Clay)
363ac62e23 Feature: Add Surface language and integrate with Elixir (#1645)
* Add initial surface highlights & injections

* Additional surface highlights

* Filetype detection, fix injections

* Fix Elixir function highlight when left is an identifier

* Add surface parser

* Fix comment highlights

* Surface folds, indents, better highlights

* Highlight surface components & directives

* Restore comments Elixir injections
2021-09-17 21:06:36 +02:00
Santos Gallegos
b2ce0800cf CI: don't require to have parsers installed to check for injections 2021-09-17 21:06:36 +02:00
leo60228
d8d45ffb63 add compound_lit.c test 2021-09-17 21:06:36 +02:00
leo60228
dfb5628a74 Indent C compound_literal_expression 2021-09-17 21:06:36 +02:00
Stephan Seitz
acd9f81293 Use node action 2021-09-17 21:06:36 +02:00
Tae Sandoval
cce29d8b8d Add some missing ftdetect files 2021-09-17 21:06:36 +02:00
Github Actions
33d75f099d [docgen] Update README.md
skip-checks: true
2021-09-17 21:06:36 +02:00
Pierre Poupin
8c0cb4b6b3 feature: add gdresource ftdetect 2021-09-17 21:06:36 +02:00
Pierre Poupin
38964c741b feature: make godotResource compatible with gdresource filetype 2021-09-17 21:06:36 +02:00
Github Actions
94c08e785a [docgen] Update README.md
skip-checks: true
2021-09-17 21:06:36 +02:00
Pierre Poupin
6875f4bd9d feature: add godotResource queries 2021-09-17 21:06:36 +02:00