harryvederci
97b9f0ba8f
Add Janet support. ( #341 )
...
* Add Janet support.
* Add Janet test. Add Janet to readme language list.
* Rename test.janet to test/test.janet
2023-10-09 18:54:25 +01:00
Romain Beauxis
2095f231df
Add liquidsoap
2023-10-05 09:31:35 +01:00
Walter Leibbrandt
0874a7973f
Bump required Neovim version to 0.9.0
...
The `vim.treesitter.get_range()` function is used [here][1], but that
function was only added in Neovim [0.9.0][2], in [this PR][3].
[1]: https://github.com/nvim-treesitter/nvim-treesitter-context/blob/9afe41b/lua/treesitter-context/render.lua#L143
[2]: https://github.com/neovim/neovim/releases/tag/v0.9.0
[3]: https://github.com/neovim/neovim/pull/22613
2023-10-05 09:30:44 +01:00
Hoang Nguyen
bc19b78e9c
feat: add jsonnet support
2023-10-01 10:50:03 +01:00
Frank Ebel
44d270e9d1
feat: Julia support
2023-09-27 09:24:59 +01:00
Lewis Russell
6795de086e
fix: better typing of setup()
2023-09-25 11:05:52 +01:00
aMOPel
6edf360435
feat(nim): added nim support
2023-09-23 20:38:39 +01:00
RoRep1ay
b6c763db8c
fix: TS Context Render on CMD Line Window
2023-09-06 07:31:56 +01:00
Lewis Russell
31692b26d7
feat: add support for tcl
2023-09-01 14:12:24 +01:00
Lewis Russell
3e7c60982c
fix: make sure setup can be called multiple times
...
Fixes #324
2023-08-28 18:55:42 +01:00
Farzad Majidfayyaz
9afe41b083
fix: add missing comma
2023-08-28 18:35:31 +01:00
Lewis Russell
07b2a7d0c7
refactor: remove CursorMoved vertical logic
...
Contexts can change when move the cursor horizontally.
2023-08-28 16:39:05 +01:00
Lewis Russell
f658e24365
refactor: break into multiple files
2023-08-28 16:36:18 +01:00
Lewis Russell
e6b743ccd4
refactor: autocmds and setup
2023-08-28 16:36:18 +01:00
Lewis Russell
00fb2f7078
refactor: extmarks
2023-08-28 16:36:18 +01:00
Lewis Russell
a77f1aa126
fix: error with line numbers disabled
...
Fixes #322
2023-08-28 09:04:03 +01:00
Lewis Russell
64828e2665
fix(goto): add to jumplist
...
Fixes : #307
2023-08-27 15:07:50 +01:00
Lewis Russell
35ff768f3c
fix: detect changed to line number options
...
Fixes : #294
2023-08-27 14:14:13 +01:00
Lewis Russell
1ba937b38e
fix(on_attach): #310
...
Fixes : #310
Resolves : #313
2023-08-27 14:05:30 +01:00
Lewis Russell
19a265d7f7
feat: highlight injection langs
...
feat: better multiline contexts
Instead of collapsing all the lines in a node, instead display the node
on multiple lines if it requires it.
This should significantly simplify the highlighting logic since we don't
need to keep track of how lines are joined.
2023-08-27 13:20:44 +01:00
Lewis Russell
e5676455c7
refactor: rename variable to snake case
2023-08-27 13:11:09 +01:00
Lewis Russell
c17ffc2e71
fix(highlight): always copy tabstop
2023-08-27 13:10:09 +01:00
Lewis Russell
e5075b2599
fix: typo
2023-08-27 13:05:08 +01:00
Lewis Russell
c160a507ae
refactor: bottom highlighting
2023-08-27 13:04:07 +01:00
Lewis Russell
49a14a2474
fix: remove parser in makefile recipe
2023-08-27 13:01:36 +01:00
Lewis Russell
4d7c6b9532
refactor: move calc_max_lines
2023-08-27 12:58:58 +01:00
Lewis Russell
da9d8e2638
ci: test nvim v0.9.1
2023-08-27 12:54:47 +01:00
Lewis Russell
9df30e2ea1
refactor: always pass bufnr/winid
2023-08-27 12:50:21 +01:00
Lewis Russell
1786b5019e
refactor: line number rendering
2023-08-26 12:06:11 +01:00
Lewis Russell
beae28308c
refactor: calculate ranges when checking parent nodes
2023-08-26 11:31:34 +01:00
Lewis Russell
e6e3d2e705
feat: highlight injection langs
2023-08-26 10:59:42 +01:00
Lewis Russell
ce583c89c8
fix: typing
2023-08-23 14:55:32 +01:00
Lewis Russell
80a03b2d70
fix: adjust max_start_depth to account for upstream changes
2023-08-23 14:44:38 +01:00
Lewis Russell
c7e3e364a7
chore: update .luarc.json
2023-08-23 14:35:14 +01:00
hcssmith
14856c9ee6
Add support for Odin
2023-08-20 07:51:27 +01:00
Lewis Russell
5dd8c21211
feat(cmake): add support
2023-08-18 10:28:43 +01:00
Vitor Pavani
a17c31268b
feat(xml): add xml support
2023-08-17 07:38:25 +01:00
Avi Dessauer
d8fd71428e
Address review
2023-08-14 19:18:46 +01:00
Avi Dessauer
23619e14ad
Fix #306
2023-08-14 19:08:17 +01:00
Avi Dessauer
dc45b3e04e
Fix up
2023-08-14 16:51:59 +01:00
Avi Dessauer
c92b537ecd
Fix scrolling error
2023-08-14 16:51:59 +01:00
Samuel Henrique
3d4ab25056
Add support for make parser
2023-08-03 10:18:35 +01:00
Samuel Henrique
03ff59e4be
Add support for diff parser ( closes : #302 )
...
Related: https://github.com/the-mikedavis/tree-sitter-diff/issues/8
2023-08-03 08:36:03 +01:00
Lewis Russell
6f8f788738
feat: add .luarc.json (2)
2023-07-13 10:06:28 +01:00
Lewis Russell
2b990cd5f4
feat: add .luarc.json
2023-07-13 10:01:15 +01:00
Lewis Russell
ecba210c1b
docs: remove install section
2023-07-13 09:54:51 +01:00
Lewis Russell
c315c973be
chore: formatting
2023-07-13 09:53:14 +01:00
Lewis Russell
4d497f8e56
fix: set undolevels=-1
2023-07-13 09:35:31 +01:00
Ray Jameson
ba8d651017
fix(python): update query according to treesitter
2023-07-12 21:12:55 +01:00
KITAGAWA Yasutaka
63f3ffc50b
feat(lua): support repeat
2023-06-29 14:39:20 +01:00