Commit graph

755 commits

Author SHA1 Message Date
Michael Davis
d7431db55c
Update tree-sitter-git-commit, add comment textobject (#6439)
The update includes a fix for comments in commit messages where there
was no space separating the '#' and the comment text.

The comment textobject can be useful occasionally to jump to the
summary part of the commit edit message.
2023-03-27 15:27:38 +09:00
JJ
c8fde8b6f9
Initial Nim language support (#6123) 2023-03-26 17:06:48 -05:00
Juan C. Müller
5d7c90c5cf
Add language support for rego (OpenPolicyAgent) (#6415) 2023-03-26 16:49:37 -05:00
Tom Burdick
685ae2365a
Add vhdl language support (#5826)
Simple highlight query file with keywords and builtin types
matching. Many VHDL types however are defined in std libraries
which do not currently get matched on.

This is because the grammar doesn't consider them builtin types.
2023-03-25 12:10:54 -05:00
Erasin Wang
851ac6cdd3
Add theme keys for (un)checked markup list items (#6434) 2023-03-25 11:41:31 -05:00
Sebastian Zivota
e399bbc379
dracula theme: style wrap indicator like whitespace (#6414) 2023-03-23 11:36:10 -05:00
Thor Adam
346ddd4735
Add switch_statement to ecma indents (#6369) 2023-03-21 17:13:32 -05:00
zetashift
0e0c16e6fa
Add initial Smithy support (#6370) 2023-03-21 17:12:24 -05:00
Kristoffer Flottorp
b0ceac608e
fleet-dark improvements (#6375)
Co-authored-by: krfl <kr.fl@outlook.com>
2023-03-21 12:59:43 -05:00
not
9eb11214b1
theme(rose-pine): add inlay hints (#6384)
* add `ui.virtual.inlay-hint`

* normalise line endings
2023-03-20 18:59:06 -05:00
varon
05e7862e8f
Update nord with inlay-hints (#6376) 2023-03-21 00:11:01 +09:00
angelodlfrtr
ac2a7731a6
Add language support for Cap’n Proto format (#6325) 2023-03-18 09:17:02 -05:00
Sora
9f5374bf47
Update tokyo-night with inlay-hints (#6349) 2023-03-18 11:56:20 +09:00
Yutaro Ohno
bd473928ae
theme: update adwaita-dark for bufferline (#6342)
The adwaita-dark theme has no distinction between active and inactive
buffers on a bufferline. Add contrast to clarify differences.
2023-03-17 12:12:23 -05:00
VuiMuich
a07655d55b
Update Serika themes for inlay-hints (#6344) 2023-03-17 09:53:06 -05:00
Erasin Wang
b20cf15eef
Update queries for makefile (#6339)
- update variable and ref as paramter
- add target as constant
- add inject for shell_text
2023-03-17 09:48:57 -05:00
Ivan Tham
21a3fb8f29
Update ayu theme for inlay-hint (#6329)
Based on vscode ayu badge.
2023-03-16 09:14:23 -05:00
Ryan Roden-Corrent
aae8f72e2e
Add inlay-hint style for solarized themes. (#6327)
This uses the same color as comments, which is a light gray in both dark and light.
I think it also looks nice with italics.
2023-03-16 10:54:47 +09:00
Erasin Wang
fb56a4bb75
Improve tree-sitter queries for vlang (#6279)
- Update hightlight
- add indents
- add textobject
- add injections
2023-03-15 16:22:24 -05:00
Erasin Wang
64c137bd3d
Update gdscript highlight (#6311)
- add gdscript2 type.builtin
- add gdscript2 keyword 'await'
- update label for more note_path
- update function and parmeter
2023-03-15 16:20:59 -05:00
Kristoffer Flottorp
35bf54d0b2
adjust inlay hints, color modes and virtual for fleet dark (#6324)
* adjust inlay hints and color modes for fleet dark

* adjust virtual + ruler color

---------

Co-authored-by: krfl <kr.fl@outlook.com>
2023-03-15 22:12:32 +08:00
Alexander Brevig
d4c0eca1da
fix: flatwhite with inlay (#6323) 2023-03-15 10:28:28 +09:00
Jens Getreu
3a4c3598d1
Autumn theme: add gray tone for inlay-hint (#6316)
Co-authored-by: Jens Getreu <getreu@getreu@web.de>
2023-03-14 08:51:47 -05:00
Michael Davis
fb4d703b9f Update Nix highlights
* Switch nix grammar repository location to the new repo. The author
  has transferred the repository to 'nix-community'.
* Capture ':' and '...' as 'punctuation.delimiter'.
2023-03-14 10:56:49 +09:00
Michael Davis
cdd6c8d91e Update Erlang highlights
* Macros that start with underscore were incorrectly marked as
  'comment.unused' rather than 'keyword.directive' due to an ordering
  issue of those two patterns.
* Recognize escripts as Erlang by the shebang.
2023-03-14 10:56:49 +09:00
Michael Davis
bb41a283e6
theme: Use inheritance for gruvbox themes (#6295)
These gruvbox variants were introduced before theme inheritance and
only differ by a few colors. This change cleans up the duplicated
theming with theme inheritance.
2023-03-14 10:56:22 +09:00
Ivan
955eb5b2de
queries/php: add missing keywords unset and clone (#6299) 2023-03-13 19:21:44 -05:00
Josh Bainbridge
dc418bb507
Update gruvbox color themes to support inlay hint (#6285)
The gruvbox themes (gruvbox, gruvbox dark hard and guvbox light)
don't provide a colour for the new virtual inlay hints. Looking at the
original repo, and other derivatives, there doesn't appear to be a clear
definition of what inlay hints should be. Although most sources indicate
that it can be the same as the color for comments.

Considering that, this commit sets the new field on each of the three
themes to be gray1, same as commented text.

Signed-off-by: Josh Bainbridge <josh.bainbridge@gmail.com>
2023-03-13 09:36:40 -05:00
Maxwell Anderson
951aecc019
Add molokai theme (#6260) 2023-03-13 21:52:45 +08:00
workingj
66033edeaf
add ui.inlay-hint (#6292) 2023-03-13 22:40:13 +09:00
Jens Getreu
6e432e8636
Autumn theme: add ui.virtual.inlay-hint config (#6280)
The configuration differs between parameters (upright) and types (slanted).
2023-03-12 11:59:09 -05:00
Kirawi
db8c86a9a3
dark_plus: theme inlay-hint (#6283)
Taken from the official theme:
```json
"editorInlayHint.background": "#4d4d4dcc",
"editorInlayHint.foreground": "#ffffff",
"editorInlayHint.parameterBackground": "#4d4d4dcc",
"editorInlayHint.parameterForeground": "#ffffff",
"editorInlayHint.typeBackground": "#4d4d4dcc",
"editorInlayHint.typeForeground": "#ffffff",
```
2023-03-12 11:57:21 -05:00
Erasin Wang
221a4ac883
Theme onelight add inlay-hint (#6276)
- fix: add `markup.strikethrough` for theme.md 
- add virtual.inlay-hint
- fix ui.virtual.wrap
- rename light-white to grey-300
2023-03-12 11:56:54 -05:00
Ivan
14f1a62367
theme/catppuccin: add ui.virtual.inlay-hint (#6269) 2023-03-11 08:04:37 -06:00
Kirawi
bb72079743
fleet_dark: theme inlay hints (#6266) 2023-03-11 08:02:04 -06:00
Blaž Hrastnik
81601b1c6c
fix: C++ namespace indentation
fixes #6235
2023-03-11 11:50:11 +09:00
Maxicarlos08
3d230e701d
Also highlight unchecked variants of the sqlx query methods (#6256) 2023-03-10 16:57:52 -06:00
Ivan
3907358103
queries/php: add injections for regex and sql injection (#6250) 2023-03-10 16:56:18 -06:00
Philipp Mildenberger
98415f288f
Improved yuck highlighting (and parser), and introduced a tag.builtin scope (#6242) 2023-03-10 10:32:45 -06:00
workingj
bc23e54805
feat(theme): Update pop-dark statusline (#6227)
* update pop-theme for color-modes

* fixed ui.statusline.select not worrking

* adjustments for nicer statusline visuals

* added status line color
2023-03-09 11:17:45 +09:00
gibbz00
34be71fb50
Theme - auy_evolve: Up bufferline fg brightness (#6225)
Currently a bit hard to discern inactive and active buffers in a
brighter environment.
2023-03-08 08:06:34 -06:00
Erasin Wang
0e5a4e55a4
Update highlights for golang (#6204)
- update tree-sitter-go
- refine keywords
- set package as namespace
- add label
2023-03-07 18:33:13 -06:00
Erasin Wang
622f90a157
Update highlight for PHP (#6203)
- update tree-sitter-php
- add basic types, operator
- refine keyword
2023-03-07 18:28:44 -06:00
workingj
77d6ed150c
feat(theme): Update pop-dark for color-modes (#6208) 2023-03-06 17:35:32 -06:00
Erasin Wang
bc50502b1e
Update highlight for ecma/js/ts (#6205) 2023-03-06 10:15:03 -06:00
Erasin Wang
cfb9986d84
Update onelight theme (#6192) 2023-03-06 09:29:06 -06:00
Erasin Wang
e6597bc992
Update queries for godot4 (#6186) 2023-03-05 12:41:18 -06:00
Roberto Vidal
725d9aecf0
Add support for reStructuredText (#6180) 2023-03-04 20:36:01 -06:00
Henrik Tjäder
cf153080d7
Theme: Papercolor: Add ui.highlight (#6162)
Using the picker with syntax highlighting the
fallback `ui.selection` makes a lot of text,
especially for the light variant, hard to read.

Instead, use a lighter background for highlights
2023-03-04 20:21:31 -06:00
Matthias Q
2bd8bc8d84
feat(prql): add prql support (#6126) 2023-03-03 13:12:37 -06:00