elianiva
5ead7a0fa7
fixup: remove generate_from_grammar
2021-04-08 22:50:41 +02:00
elianiva
8ac8f2c39b
feat: add scss parser
2021-04-08 22:50:41 +02:00
Santos Gallegos
5f53f55371
Fix usage of string.sub ( #1164 )
...
From https://www.lua.org/pil/20.html
> The call string.sub(s,i,j) extracts a piece of the string s, from the i-th to the j-th character inclusive.
This was breaking textobjects movement.
2021-04-07 19:23:14 -05:00
Stephan Seitz
bf0ae40cf4
fix(health): let CC check behave like in real installation
...
Fixes #1146
2021-04-07 13:00:42 +02:00
Stephan Seitz
826683b1bf
Fix: allow empty path in utils.get_at_path
2021-04-06 21:48:25 +02:00
Marco Hinz
fc5e37fe48
TSModuleInfo: make new buffer work with given argument
2021-04-06 21:32:46 +02:00
Marco Hinz
c64c8a4017
TSModuleInfo: use custom buffer
2021-04-06 21:32:46 +02:00
Santos Gallegos
79040e539d
Fix incremental selection ( #1135 )
...
So, there are two problems:
- There was an infinite loop when inc selection was initiated
from an injection.
- The comparison was wrong when the whole file was selected,
this is because ts matches the EOF.
This is an extra line with one char (EOF).
I put a workaround to try to select the node from the main
tree, but we should try to select the node from the parent tree of the
injection, but I wasn't able to get the parent tree from the node.
2021-04-05 20:02:58 -05:00
Marco Hinz
8840641acc
TSModuleInfo: cleaner indentation
2021-04-05 15:41:00 +02:00
Marco Hinz
b8f17f89fb
TSModuleInfo: sort mods and languages
2021-04-05 15:41:00 +02:00
kiyan
7deedc4939
fix: prev_node nil check
2021-04-02 18:41:51 +02:00
Stephan Seitz
052590ae55
healthcheck: raise error when ABI is too old
2021-04-02 06:05:56 +02:00
Stephan Seitz
b9470e30b9
Remove requires_generate_from_grammar for ledger
2021-04-01 21:10:47 +02:00
Stephan Seitz
25ee877b62
all/maintained: only installation from grammar when tree-sitter CLI executable
2021-04-01 21:10:47 +02:00
Stephan Seitz
c16a6c972b
Check for node-js on :TSInstallFromGrammar
...
Ref: https://github.com/nvim-treesitter/nvim-treesitter/issues/1121#issuecomment-811755767
2021-04-01 21:10:47 +02:00
kiyan
0f9bdb0939
fix: avoid infinite loop which causes some breakage
2021-04-01 20:50:25 +02:00
kiyan
a2cee8852b
fix: indent on new line
2021-04-01 20:50:25 +02:00
Stephan Seitz
edd942a962
Add tree-sitter ABI version to health check
2021-03-31 19:01:21 +02:00
Stephan Seitz
7b1d557c80
Use fullpath to tree-sitter executable to avoid using one from NPM
2021-03-30 22:27:50 +02:00
Stephan Seitz
e1997ebbca
Add LaTeX maintainers
2021-03-30 19:26:37 +02:00
Stephan Seitz
712cc78a1e
Add text.reference and text.environment
2021-03-30 19:26:37 +02:00
Stephan Seitz
0556edf5f3
latex: add TSMath that behaves like vimtex math highlighting
2021-03-30 19:26:37 +02:00
Steven Sojka
6863f79118
refactor(all): language tree adaption ( #1105 )
2021-03-30 08:18:24 -05:00
Stephan Seitz
88ac3d2365
Address #1067 : check whether lockfile exists
2021-03-24 22:32:21 +01:00
Steven Sojka
4da6f29a56
chore(parsers): add tsx maintainer
2021-03-24 18:32:13 +01:00
Steven Sojka
7984975a2f
feat(install): allow ignore list when installing parsers ( #1098 )
2021-03-24 09:12:03 -05:00
Corey Williamson
548a0d8d7f
Update teal highlights
2021-03-23 22:20:30 +01:00
Stephan Seitz
1375cc5c1f
fix(checkhealth): display error messages of failed queries
2021-03-23 21:25:37 +01:00
Himujjal
597ec69378
Added Zig grammar
2021-03-23 12:36:34 +01:00
Brady Phillips
bdbae28b24
Fix indent size
...
Indent size should equal shiftwidth, unless shiftwidth is 0 in which
case tabstop should be used.
2021-03-22 17:36:19 +01:00
bitcoder
b84dbcc66c
use health#report_warn for treesitter version check
2021-03-22 12:40:43 +01:00
Stephan Seitz
283ee87ed1
Add LaTeX/Bibtex parser
2021-03-22 11:49:51 +01:00
Brian Ryall
a38097256a
fix typo in beancount parser
2021-03-22 07:11:10 +01:00
Brian Ryall
fb75f01941
add support for beancount files
2021-03-22 07:11:10 +01:00
Stephan Seitz
7dacd66aec
feat: Allow tables for additional_vim_regex_highlighting
2021-03-18 12:03:37 +01:00
Stephan Seitz
ff9bf6dc2b
feat: Allow to configure to use syntax and tree-sitter together
2021-03-18 12:03:37 +01:00
nbCloud91
5c00f8ede1
fix formatting issues caused by asterisk
...
Replace the asterisk used for "Multiple parsers found" by a plus sign. It prevents the asterisk from messing up the formatting of the rest of the `:checkhealth` buffer.
2021-03-18 07:09:31 +01:00
Stephan Seitz
28a729fe9a
Update clojure,turtle,sparql
2021-03-17 20:22:46 +01:00
Stephan Seitz
fc9bdf7c3d
GraphQL no longer requires_generate_from_grammar
2021-03-17 20:22:46 +01:00
BonaBeavis
f652e1efed
Use newline instead of space
2021-03-17 20:21:50 +01:00
BonaBeavis
2bbc1a2d59
Add newline before legend
...
Without this newline there is no syntax highlighting after the legend.
2021-03-17 20:21:50 +01:00
Stephan Seitz
ad5c0b9d78
Update lockfile
2021-03-16 22:17:23 +01:00
kiyan
2f81d4ad27
hotfix npm check
2021-03-16 18:58:36 +01:00
Stephan Seitz
f392f13af4
Add an error message if NPM is not available but needed
2021-03-16 18:52:43 +01:00
Stephan Seitz
f3ba2cfd28
Fixup: ocamllex
2021-03-16 18:52:43 +01:00
Stephan Seitz
ec30cf1641
Update ocaml
2021-03-16 18:52:43 +01:00
Stephan Seitz
2cd1eb6e2a
Update Kotlin parser
2021-03-16 18:52:43 +01:00
Stephan Seitz
acbb453f57
Update verilog to 0.19.2
2021-03-16 18:52:43 +01:00
Stephan Seitz
3fda398bf6
Update fennel parser to 0.19.2
2021-03-16 18:52:43 +01:00
Stephan Seitz
7a7a56d0f1
Add explanation why some parsers need to be generated from source now
2021-03-16 18:52:43 +01:00