Commit graph

419 commits

Author SHA1 Message Date
Alexei Mozaidze
4fe0a54e86 feat(fennel): improve queries 2024-04-24 19:53:10 +01:00
Sam-programs
ba4289ad34 fix(nighly): use get_hl_from_capture for nightly, instead of hl_cache 2024-04-19 11:01:57 +01:00
Alexei Mozaidze
e6e71047bb fix(fennel): update queries to support new parser 2024-04-18 09:37:54 +01:00
Lewis Russell
f5036b95e6 ci: fix nvim version 2024-04-18 09:36:02 +01:00
Frank Ebel
c24a7a6dc5 fix: julia function query 2024-04-16 16:10:43 +01:00
przepompownia
29fcd4a9ad fix(php): start class_declaration context from name
Fix method_declaration context

Fix for function_definition context

Add test for functions

Test for class and method
2024-04-16 15:41:35 +01:00
Kassio Borges
ba05c6b753 feat: add rspec context support (ruby) 2024-04-13 18:24:06 +01:00
defr0std
f19766163c feat: add context for c++ namespace definition 2024-03-22 09:30:36 +00:00
mathrim
ce37c77155 feat: gdscript support 2024-03-21 00:40:46 +00:00
Lewis Russell
2484f58384 refactor(context): use an iterator function 2024-03-18 17:15:16 +00:00
Rom Grk
b8b7e52c15
perf: revert "fix: do not use vim.treesitter.highlighter" (#414)
This reverts commit 4f5c742697.
2024-03-05 16:43:55 -05:00
Dagoberto Contreras
53cdd58446
feat(org): adds support for orgmode files (#413)
* feat(org): adds support for orgmode files

* fix(org): fixing the test file

---------

Co-authored-by: Cayetano Carpio <cayetano@carpio.com>
2024-03-04 08:02:37 +00:00
reo101
b8d1ffe58a fix(fennel): update queries to reflect new upstream parser
https://github.com/nvim-treesitter/nvim-treesitter/pull/6132
2024-02-25 17:40:08 +00:00
Tom Kirchner
e4a259f050 feat(rust): add more queries and tests 2024-02-24 07:30:14 +00:00
Amaan Qureshi
98bdd713ff fix(svelte): update queries from parser change 2024-02-21 00:41:24 -05:00
Karol Waszczuk
fbeff2a60d fix: Display context when injected language is not supported 2024-02-20 01:10:24 +00:00
Tony Le
a5d16fd763
feat(vue): add context support 2024-02-20 01:08:33 +00:00
Karol Waszczuk
6a4b354233 docs: Adjust the position of svelte language in README 2024-02-19 04:26:02 +00:00
Karol Waszczuk
23b699ac40 fix: crashes on lines with invalid syntax
Fixes #397
2024-02-17 01:10:31 +00:00
Luuk van Baal
b90ac39bf3 fix: set "fillchar" for 'statuscolumn' rendering 2024-02-16 23:56:58 +00:00
Karol Waszczuk
e75357fa49 feat(svelte): Add Svelte support 2024-02-16 15:23:32 +00:00
Karol Waszczuk
0a95d477c8
feat: Support context recognition for injected languages 2024-02-16 14:26:36 +00:00
Jimmy C. Kromann
32bbb2136c
feat: added Groovy (and Jenkinsfile) syntax 2024-02-16 10:53:55 +00:00
Lewis Russell
f33905bf5a test: migrate to nvim-test
Also run the tests with tree-sitter highlighting enabled.
2024-02-14 15:48:50 +00:00
Lewis Russell
4f5c742697 fix: do not use vim.treesitter.highlighter
Fixes #387
2024-02-14 15:48:50 +00:00
przepompownia
f2ef98cd18 Support php_only 2024-02-10 14:48:35 +00:00
Danielkonge
9c06b115ab feat(hl): add 'TreesitterContextLineNumberBottom' 2024-01-25 21:10:55 +00:00
btolsch
2972717355
feat(c): Add switch and case support 2024-01-24 10:30:50 +00:00
Daniel Kongsgaard
85cf977181
Update c queries and test (#363)
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
2024-01-19 11:43:45 +00:00
Alexandre JULIEN
2017a0d7fc bash: add c_style_for_statement 2024-01-14 11:53:13 +00:00
xi xiao
400a99ad43 add Salesforce Apex language support 2024-01-08 18:04:19 +00:00
ObserverOfTime
b219328663 chore: ignore test languages 2024-01-08 15:36:21 +00:00
Shihua Zeng
652ec514d6
feat: allow passing param depth to go_to_context() (#277)
* feat: allow passing param depth to go_to_context()

* doc: update README

* fix: remove usage of `vim.iter()` in `go_to_context()`
2023-12-23 10:16:06 +00:00
aMOPel
c9f2b429a1 fix(nim): added new fields from recent parser version,
improved support for (conditional_declaration) and (variant_declaration)
2023-12-16 10:37:14 +00:00
Tomas Nemec
c8e81cbceb feat: multiline support 2023-12-16 10:36:18 +00:00
Aaron Dill
cfa8ee19ac
feat: Add .is_enabled to check current status (#346)
* feat: Add .enabled() to check current status

This allows configurations to do things such as my use case of
notifying the new state when using .toggle()

Co-authored-by: Lewis Russell <me@lewisr.dev>
2023-12-08 15:37:46 +00:00
Lewis Russell
bf4d15ee4e doc: update README.md 2023-11-21 09:33:31 +00:00
Hoang Nguyen
ec7f160375 fix(README): fix some typos in the language list 2023-11-20 09:29:27 +00:00
Hoang Nguyen
4757afb4f9 feat(cue): add context support for CUE 2023-11-20 09:29:27 +00:00
Hoang Nguyen
0ddf6f069f feat(templ): add context support for templ 2023-11-20 09:28:46 +00:00
Hoang Nguyen
f3ec0d8a1b feat(go): add context for 'default' switch case 2023-11-18 10:50:41 +00:00
Hung Tran
c03f8aab1e
feat(yang): add YANG lang context (#360)
* feat(yang): add YANG lang context

* chore(yang): add test files and update README.md

---------

Co-authored-by: htran <htran@egihosting.com>
2023-11-12 09:43:52 +00:00
aMOPel
2aa86487c4 feat(nim): added missing captures for pragma_statement and
concept_declaration
2023-11-11 11:10:03 +00:00
Colin Kennedy
2806d83e39
Added objdump context and test (#354)
* Added objdump context and test

* Added objdump to README.md
2023-10-28 09:46:44 +01:00
Teddytrombone
e5c90f0f32
feat(typoscript): add TypoScript support (#353)
* Added TypoScript

* Combined
2023-10-27 11:43:51 +01:00
Nodari Chkuaselidze
8aa32aa6b8 javascript: add switch/case to the context. 2023-10-20 11:44:52 +01:00
Manuel Floruß
7227dca173 zig: Add missing @context.end to ErrorUnionExpr. 2023-10-18 09:01:35 +01:00
Meet Mangukiya
82c6959516
feat: add context for solidity (#347)
* feat: add context for solidity

* add test file for solidity, update readme
2023-10-15 10:08:10 +01:00
harryvederci
4cf64264c0
Add Clojure support. (#342)
* Add Clojure support.

* Add Clojure to supported languages list.

* Add Clojure test.
2023-10-10 07:11:10 +01:00
harryvederci
b6b91e2e59
Add Fennel support. (#343)
* Create context.scm

* Update Fennel context query.

* Add Fennel to supported languages list.

* Add test for Fennel.
2023-10-10 07:10:43 +01:00