Jesse Luehrs
2caca1c4e9
Add pod highlighting ( #7907 )
2023-08-12 20:14:18 -05:00
Ivan Isekeev
57f093d836
Jinja language family syntax support ( #7233 )
...
* feat: add jinja language support
* feat: add nunjucks language support
* feat: add to lang support book jinja and nunjucks languages
2023-08-09 16:26:58 +02:00
Jan9103
c0eae84073
feat: add todo.txt tree-sitter ( #7835 )
2023-08-09 15:35:29 +02:00
zetashift
294aa669a2
Add Unison support ( #7724 )
2023-08-08 20:50:49 +02:00
Petr Gajdůšek
7af37bb3b9
Add tree-sitter textobjects queries for bash ( #7764 )
...
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.
This also updates the generated docs after adding the textobjects for bash.
2023-08-08 03:27:35 +09:00
woojiq
1d189820a1
feat(indent): add basic java indentation queries ( #7844 )
2023-08-07 08:48:54 -05:00
Jummit
f19793c2f8
Improve wren support ( #7819 )
2023-08-04 16:25:36 +02:00
Jimmy Zelinskie
325692a154
languages: add protobuf language servers ( #7796 )
...
* languages: add bufls protobuf language server
* languages: add pbkit protobuf language server
2023-08-02 20:12:31 +02:00
lydiandy
57952c46a4
replace new lsp for vlang ( #7760 )
...
* fix vlang grammar fetch and build fail
* update highlights.scm for v-analyzer
* Update languages.toml
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update runtime/queries/v/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* update scm for new lsp
* gen doc lang-support.md
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-07-31 01:04:55 +02:00
Jummit
9a4890f62b
Add wren support ( #7765 )
2023-07-28 18:13:51 +02:00
Jesse Luehrs
e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl ( #7644 )
2023-07-17 14:09:38 +09:00
kaashyapan
2ace6032e7
Add fsharp language support ( #7619 )
2023-07-15 22:58:17 +02:00
Erasin Wang
2cb00bcbc4
Support inlay-hints for svelteserver. ( #7622 )
2023-07-14 21:56:28 +09:00
Borys Lykah
7c338429f8
Add language support for persistent library syntax ( #7261 )
2023-07-09 19:17:01 +02:00
Ryan Fowler
828c7432e3
Implement the wa! command ( #7577 )
2023-07-09 09:38:50 -05:00
Álan Crístoffer
2c5288dafb
Replace MATLAB grammar ( #7388 )
2023-06-23 00:19:40 +02:00
Alexander Brevig
b4fe31cad6
Add forth-lsp and update tree-sitter-forth ( #7334 )
...
* feat: add forth lsp and update tree sitter
* fix: update highlights
2023-06-16 23:12:29 +02:00
spectre256
d8b7232a47
Add yank_joined command ( #7195 )
...
Resolves issue #6888 by adding a command to join all selections and yank
them to the specified register. The typed command takes an argument as
the separator to use when joining the selections.
2023-06-16 21:13:23 +02:00
Ivan Svoboda
df094909d1
Webc language support ( #7290 )
...
* feat: add webc language support
* feat: add to lang-support book webc
2023-06-13 17:41:30 +02:00
Zisulin Morbrot
fbd22afe29
Add rl and rla aliasses for reload and reload-all commands ( #7158 )
2023-06-13 08:50:50 -05:00
Selwyn
18e07addfd
Use Vue language server based on Volar ( #7312 )
2023-06-12 00:46:47 +09:00
Christoph Sax
d324feb072
Add support for language t32 ( #7140 )
...
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
2023-06-07 18:01:25 -05:00
Alexander Brevig
78e8695420
Add support for Forth ( #7256 )
2023-06-06 08:14:34 -05:00
Ivan Tkachuk
2022e6175b
Add blueprint language ( #7213 )
...
* Add blueprint tree-sitter support
* Add blueprint lsp support
* Run cargo xtask docgen
2023-06-05 10:40:14 +02:00
Blaž Hrastnik
0266ec6ba3
Update language support doc
2023-05-26 13:43:41 +09:00
Philipp Mildenberger
7d20740b5b
Fix docgen and lsp-stop documentation
2023-05-18 21:48:32 +02:00
Philipp Mildenberger
74e21e1b25
Fix some lints/docgen hints
2023-05-18 21:48:32 +02:00
Philipp Mildenberger
71551d395b
Adds support for multiple language servers per language.
...
Language Servers are now configured in a separate table in `languages.toml`:
```toml
[langauge-server.mylang-lsp]
command = "mylang-lsp"
args = ["--stdio"]
config = { provideFormatter = true }
[language-server.efm-lsp-prettier]
command = "efm-langserver"
[language-server.efm-lsp-prettier.config]
documentFormatting = true
languages = { typescript = [ { formatCommand ="prettier --stdin-filepath ${INPUT}", formatStdin = true } ] }
```
The language server for a language is configured like this (`typescript-language-server` is configured by default):
```toml
[[language]]
name = "typescript"
language-servers = [ { name = "efm-lsp-prettier", only-features = [ "format" ] }, "typescript-language-server" ]
```
or equivalent:
```toml
[[language]]
name = "typescript"
language-servers = [ { name = "typescript-language-server", except-features = [ "format" ] }, "efm-lsp-prettier" ]
```
Each requested LSP feature is priorized in the order of the `language-servers` array.
For example the first `goto-definition` supported language server (in this case `typescript-language-server`) will be taken for the relevant LSP request (command `goto_definition`).
If no `except-features` or `only-features` is given all features for the language server are enabled, as long as the language server supports these. If it doesn't the next language server which supports the feature is tried.
The list of supported features are:
- `format`
- `goto-definition`
- `goto-declaration`
- `goto-type-definition`
- `goto-reference`
- `goto-implementation`
- `signature-help`
- `hover`
- `document-highlight`
- `completion`
- `code-action`
- `workspace-command`
- `document-symbols`
- `workspace-symbols`
- `diagnostics`
- `rename-symbol`
- `inlay-hints`
Another side-effect/difference that comes with this PR, is that only one language server instance is started if different languages use the same language server.
2023-05-18 21:48:30 +02:00
Kitsu
92c328c088
Add wbc and wbc! commands ( #6947 )
2023-05-09 22:21:29 +02:00
Ollie Charles
8424f387b5
Remove `tree-sitter-cabal` ( #6996 )
2023-05-09 21:31:22 +02:00
taupiqueur
c49faf5681
Add language server command for Crystal ( #6948 )
2023-05-03 09:43:37 +09:00
jorge
204d1eba4b
feat(commands): add clear-register typable command ( #5695 )
...
Co-authored-by: Jorge <chorcheus@tutanota.com>
2023-04-27 21:57:05 +02:00
ap29600
9cdc6b2e8a
Change Odin grammar to `ap29600/tree-sitter-odin` ( #6766 )
...
* Change Odin grammar to `ap29600/tree-sitter-odin`
The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source.
* update queries
* docgen
* fix queries
* Update runtime/queries/odin/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* remove `ERROR` query for `odin`
* track the latest rev in `ap29600/tree-sitter-odin`
* runtime/queries/odin/highlights.scm: update rune highlight class
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-04-27 16:32:21 +02:00
Wesley
903bdaae87
Set PerlNavigator as the language server for Perl ( #6860 )
2023-04-27 01:28:54 +02:00
Atticus Sebastiani
228a4af35f
make `:u` alias `:update` ( #6835 )
...
* Gave the command update the alias u
* Re added trailing newline
* generated docs
2023-04-23 04:07:34 +02:00
VuiMuich
4cdba7cccd
Add standalone language support for `just` ( #6453 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-04-14 17:03:21 +02:00
Michael
161fef2166
Add DTD language support ( #6644 )
...
- Added syntax highlighting for the DTD subset of the XML spec.
- Included .dtd and .ent as common file extensions
2023-04-12 15:28:51 -05:00
lefp
fff8543b58
Add OpenCL tree-sitter and LSP config ( #6473 )
2023-04-12 14:42:41 -05:00
Matouš Dzivjak
70de5026b8
feat(languages): Support markdoc ( #6432 )
...
Add basic support for [markdoc](https://markdoc.dev/ ).
For language server, see: https://github.com/markdoc-extra/markdoc-ls
For tree sitter, see: https://github.com/markdoc-extra/tree-sitter-markdoc
2023-04-12 10:28:03 -05:00
Ollie Charles
92c5f5f18c
Initial Cabal language support ( #6485 )
2023-04-12 08:38:11 -05:00
karei
1148ce1fd9
Add support for Robot Framework files ( #6611 )
...
* Add support for Robot Framework files
* Run docgen
2023-04-07 08:19:48 +08:00
Clara Hobbs
4b32b544fc
Add textobject queries for Julia ( #6588 )
...
* Add textobjects queries for Julia
* Update docs for Julia textobject queries
2023-04-07 00:35:05 +08:00
Erasin Wang
c22ebfe62e
Add Hurl Support ( #6450 )
...
* Add http Support
It's like [vscode-restclient](https://github.com/Huachao/vscode-restclient )
- https://github.com/erasin/tree-sitter-http/tree/main/tests
* Add Hurl Support
2023-04-07 00:26:41 +08:00
Clara Hobbs
d284444eb4
Add indents.scm for Julia ( #6490 )
...
* Add indents.scm for Julia
* Update documentation for new indent support
2023-03-31 10:32:36 +09:00
Pascal Kuthe
2d10a429eb
add workspace config and manual LSP root management
...
fixup documentation
Co-authored-by: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com>
fixup typo
Co-authored-by: LeoniePhiline <22329650+LeoniePhiline@users.noreply.github.com>
2023-03-29 12:57:30 +09:00
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
zetashift
0e0c16e6fa
Add initial Smithy support ( #6370 )
2023-03-21 17:12:24 -05:00
angelodlfrtr
ac2a7731a6
Add language support for Cap’n Proto format ( #6325 )
2023-03-18 09:17:02 -05: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
Pascal Kuthe
48b6aa9a69
Add command for resetting diff hunks ( #5736 )
2023-03-08 10:49:14 +09:00
Davide Galassi
f976c004e2
Allow LSP server to be stopped ( #5964 )
2023-03-07 18:34:31 -06:00
Roberto Vidal
725d9aecf0
Add support for reStructuredText ( #6180 )
2023-03-04 20:36:01 -06:00
Matthias Q
2bd8bc8d84
feat(prql): add prql support ( #6126 )
2023-03-03 13:12:37 -06:00
Mathieu Agopian
98a3d46912
Add elm treesitter textobjects ( #6084 )
2023-02-25 12:55:44 -06:00
Matthew Toohey
a4049e6f55
feat: add nasm language ( #6068 )
2023-02-25 12:53:37 -06:00
Sophie Dankel
f69bb41169
Add language support for sway ( #6023 )
2023-02-25 12:47:54 -06:00
Erasin
864ee8fdef
Add GNU gettext PO grammar ( #5996 )
2023-02-20 17:04:17 -06:00
Philipp Mildenberger
b89b2eaf68
Added yuck language support (for eww) ( #6064 )
2023-02-20 16:42:54 -06:00
Jummit
5ff2cb24e2
Add support for the uxntal language ( #6047 )
2023-02-19 12:32:42 -06:00
Guillaume
78a1e2db60
feat: show current language when no argument is provided ( #5895 )
2023-02-16 23:48:35 +09:00
A-Walrus
8b09b00942
Add :toggle-option command ( #4085 )
...
This command toggles the value of boolean options
2023-02-13 11:40:31 +09:00
Erasin
c71b4c5579
Update grammar for godot ( #5944 )
...
* update grammar for gdscript.
* add comment injections for gdscript.
* add indent for gdscript
* add file-type support for godot-resource
2023-02-12 14:03:02 -06:00
ath3
1840d775c8
Added tree-sitter-hosts ( #4950 )
2023-02-10 11:32:04 -06:00
ath3
189c3c2ddc
Add tree-sitter-passwd ( #4959 )
2023-02-10 11:12:46 -06:00
Matthew Toohey
05c5207265
feat: add pem language ( #5797 )
2023-02-07 17:24:26 -06:00
William Etheredge
f7bd7b5eaf
Add :character-info command ( #4000 )
2023-02-03 08:24:46 -06:00
Brett Lyons
d8f482e11e
Add MSBuild language based on XML grammar ( #5793 )
2023-02-03 08:24:22 -06:00
Antonius Naumann
56c0810c68
Change default language server for 'v' from 'vls' to 'v ls' ( #5677 )
2023-01-25 09:56:51 -06:00
Eloi Torrents
7e191f5915
Support sagemath language ( #5649 )
2023-01-23 12:10:27 -06:00
Clément Delafargue
1f6809c9ce
Language support for dhall
...
https://dhall-lang.org/
2023-01-13 09:42:05 -06:00
Matthias Wahl
e65f28d41a
Add language support for ponylang ( #5416 )
...
See https://www.ponylang.io
2023-01-10 19:54:19 -06:00
Michael Davis
b368df5785
Use tree-sitter-ruby for crystal ( #5205 )
2023-01-09 02:12:04 +09:00
Dom H
532531c3ca
Add runtime queries for `tfvars` (based on `hcl`) ( #5396 )
2023-01-06 06:59:13 -06:00
g-s-k
042d03269e
Add support for MATLAB/Octave files ( #5192 )
2022-12-17 13:44:08 -06:00
Jonas Everaert
aecb524e50
Crystal language support ( #4993 )
2022-12-17 13:34:00 -06:00
Blaž Hrastnik
ec9aa66902
Remove redraw to fix build
2022-12-15 22:23:06 +09:00
Roberto Vidal
f916915b53
add redraw command ( #4354 )
...
* add redraw command
* update docs
* Update helix-term/src/commands/typed.rs
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* update docs
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-12-15 17:59:34 +09:00
gavincrawford
012fc12f97
Add Bash indents ( #5149 )
2022-12-14 08:42:11 -06:00
Erasin
436296b76c
Add Mermaid.js for markdown support ( #5147 )
2022-12-14 07:51:00 -06:00
Alexander Schlögl
0b96021643
Add `:pipe-to` typable command that ignores shell output ( #4931 )
2022-12-11 20:06:24 -06:00
Ollie Charles
0e8ea13696
Add Haskell text objects ( #5061 )
2022-12-10 14:03:18 -06:00
Felipe S. S. Schneider
d14de27709
Add support for the BibTeX file format ( #5064 )
2022-12-08 22:33:08 -06:00
Blaž Hrastnik
03ca18b377
Update language support docs
2022-12-05 15:02:13 +09:00
Michael Davis
67415e096e
Fix file-types declaration for racket ( #4915 )
...
Both the racket and scheme entries used the rkt file-extension. This
commit removes that entry for scheme and so that the racket entry takes
precedence. We explicitly point to the scheme grammar now and setup
queries that inherit from scheme. This should enable using the racket
language server configuration.
2022-11-30 23:27:08 +09:00
Lennard Hofmann
fc811726e0
Update tree-sitter-java and add Java textobjects ( #4886 )
2022-11-26 10:17:10 -06:00
alois31
26ec1cf39a
Add QML language support ( #4842 )
...
Fixes https://github.com/helix-editor/helix/issues/2771
2022-11-22 21:49:02 -06:00
Sora
420e33a600
Implement simple indents.scm for Elixir ( #4821 )
2022-11-20 18:36:19 -06:00
Filipe Azevedo
8dac863a5b
Add `:reload-all` command ( #4663 )
2022-11-20 12:39:26 -06:00
Blaž Hrastnik
767b179839
Update lang-support doc
2022-11-18 10:53:08 +09:00
Jonathan
1233c9a989
Add support for Bicep files ( #4403 )
2022-11-14 19:43:22 -06:00
Philip Giuliani
e17ad2722a
Enable elixir-ls for heex language ( #4679 )
2022-11-10 09:21:31 -06:00
Matthias Deiml
dee5b2a983
Add LSP workspace command picker ( #3140 )
...
* Add workspace command picker
* Make command typable
* Add optional argument to lsp-workspace-command
2022-11-09 18:17:09 +09:00
seshotake
ed7ea8c9ba
add highlights for env and ini file formats ( #4536 )
2022-10-31 19:23:09 -05:00
hh9527
9df4358492
Support WIT grammar ( #4525 )
2022-10-31 18:48:01 -05:00
Matthew Toohey
f054a3f3ed
feat(lang): add xml ( #4518 )
2022-10-29 15:41:28 -05:00
Jaden
b5e7501935
feat(lang): add kdl grammar ( #4481 )
2022-10-29 10:33:23 -05:00
rsteube
26f21da531
language: added vhs ( #4486 )
2022-10-28 08:22:41 -05:00
James O. D. Hunt
ac0fe29867
commands: Make no arg ':theme' show name ( #3740 )
...
Most commands that accept an argument show their current value if no
argument is specified. The `:theme` command previously displayed an
error message in the status bar if not provided with an argument:
```
Theme name not provided
```
It now shows the current theme name in the status bar if no argument is
specified.
Signed-off-by: James O. D. Hunt <jamesodhunt@gmail.com>
Signed-off-by: James O. D. Hunt <jamesodhunt@gmail.com>
2022-10-26 11:59:50 +09:00
Gaurav Tyagi
ba9e50e93b
Add `:update` that will write the changes if the file has been modified. ( #4426 )
...
* add command update that will write the changes if file hasn been modified
* add docs
* update the docs
2022-10-26 11:58:49 +09:00
Sora
664064b3cc
Add textobjects.scm for zig ( #4409 )
2022-10-21 17:32:29 -05:00
Garrett D'Amore
36f97b6aad
Add support for D ( #4372 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-10-20 16:54:17 -05:00
ZJPzjp
0e8e7cae3b
fix `:insert-output` doc: inserting output **before** each selection ( #4286 )
2022-10-15 11:07:42 -05:00
Dario Oddenino
2d958d6c50
Add support for Purescript language ( #4242 )
2022-10-14 11:57:52 -05:00
Lennard Hofmann
a24fae3b3c
Update tree-sitter-lua and add textobjects for Lua ( #3552 )
2022-10-12 08:45:56 -05:00
Triton171
8f19956218
Add python indentation support to docs.
...
Document @extend-indented and @stop-extend captures for indent queries.
2022-10-11 16:48:04 +09:00
Roberto Vidal
cc257e9bf9
Add support for webassembly text format ( #4040 )
2022-10-01 09:13:52 -05:00
Filipe Azevedo
385ccdfc9c
add :lsp-restart command ( #3435 )
2022-09-20 16:44:36 +09:00
Alex Suraci
ea25ed6431
add `bass` language + highlighting ( #3771 )
2022-09-18 12:06:51 -05:00
Artem Pyanykh
08937fc00e
Add Markdown LSP via Marksman
...
Marksman is an LSP server for Markdown: https://github.com/artempyanykh/marksman
It supports a bunch of LSP features: symbols, references, rename, diag,
etc. and already has integrations with emacs, neovim, and vscode.
2022-09-17 20:58:42 +02:00
Benjamin Streit
ffb41a94f0
feat: Syntax highlighting for Astro files ( #3829 )
2022-09-13 01:53:55 -05:00
Erasin
a15420ed1c
Add textobject for gdscript ( #3760 )
2022-09-10 08:47:08 -05:00
Erasin
54e78dd24f
Add godot resource support ( #3759 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-09-10 08:45:52 -05:00
Matouš Dzivjak
76b3f502c4
feat(lsp): jsonnet-language-server
...
Add jsonnet-language-server for jsonnet language.
See: https://github.com/grafana/jsonnet-language-server
2022-09-08 18:38:41 -05:00
ChemicalXandco
7210b39587
change to openscad-lsp ( #3750 )
2022-09-08 18:36:03 -05:00
Matouš Dzivjak
5ab85283e9
feat(languages): jsonnet ( #3714 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-09-08 09:04:18 -05:00
Giorbo
5b1113766d
Add syntax highlighting for SML ( #3692 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-09-07 13:13:06 -05:00
Michael Davis
43b31f702a
Update tree-sitter-diff ( #3708 )
...
This change also renames the grammar from `git-diff` to `diff`.
The grammar covers regular diff syntax so I renamed the repository
a while ago.
2022-09-06 12:02:37 +09:00
Michael Davis
73d5bd739e
Delete invalid indents.scm queries
2022-08-31 17:45:23 +09:00
Gustavo Bogarín
e066782782
Add c-sharp textobjects ( #3494 )
...
Co-authored-by: Gustavo Bogarín <gbogarin@outlook.com>
Co-authored-by: Gustavo Bogarín <gbogarin@posibillian.tech>
2022-08-27 09:24:47 -05:00
ath3
86a8ea57bb
Pascal support ( #3542 )
2022-08-25 17:59:02 -05:00
ath3
45add73fb1
AWK support ( #3528 )
2022-08-24 11:58:15 -05:00
Jaden
2b16fd43f9
feat(lang): Add esdl grammar ( #3526 )
2022-08-24 09:51:10 -05:00
ChemicalXandco
6b912b8641
add syntax highlights for xit ( #3521 )
2022-08-23 20:52:01 -05:00
Alexander Brevig
aef00a3ab6
feat: add taskwarrior to languages so `task N edit` is nice ( #3468 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-08-19 19:16:54 -05:00
Erasin
921027fb32
Update tree-sitter-latex and highlights ( #3370 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-08-10 07:29:43 -05:00
Kyle L. Davis
4ce5a94552
Add language: beancount ( #3297 )
...
Co-authored-by: erasin <erasinoo@gmail.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Erasin <erasinoo@gmail.com>
2022-08-08 17:59:55 -05:00
Erasin
f09d2bc56b
Add slint-ui support
...
<https://slint-ui.com/ >
lsp: <https://github.com/slint-ui/slint/tree/HEAD/tools/lsp >
tree-sitter-slint: <https://github.com/jrmoulton/tree-sitter-slint >
2022-08-08 17:57:08 -05:00
Matthias Deiml
ea04220874
Use split_parser branch for markdown grammar ( #3108 )
2022-08-06 10:56:48 -05:00
Banst
7e06681413
feat: add cue support ( #3262 )
2022-07-31 07:04:57 -05:00
Erasin
919edfb323
Add Graphviz Dot lang support ( #3241 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-07-30 12:34:00 -05:00
Erasin
681c0a91dc
Add textobject for javascript ( #3213 )
2022-07-28 08:31:20 -05:00
Ricardo Silva
2f1d3d0899
Add LSP config for Odin ( #3214 )
2022-07-27 12:28:20 -05:00
Gokul Soumya
de8ade8967
Shorten embedded command descriptions ( #3070 )
...
* Shorten embedded command descriptions
- Compact descriptions in command palette and infobox
* Shorten typed command descriptions
* Fix typo in decrement command description
2022-07-26 12:04:23 +09:00
Daniel Longeuay
2ede98c4b4
feat(tree-sitter): ✨ add go template support ( #3091 )
...
* feat(tree-sitter): ✨ add go template support
* fix(tree-sitter): 🐛 go template highlight scope selectors
* chore(tree-sitter): 🔧 update go template grammar commit
2022-07-26 10:17:28 +09:00
Clay
b55573dc1d
Add elixir & heex comment textobjects ( #3179 )
2022-07-26 10:14:45 +09:00
Clay
e560212ec5
Gleam: add support for built-in language server ( #3139 )
...
* Add gleam lsp support
* Docgen gleam lsp support
2022-07-22 10:19:42 +09:00
Joe
0c9594e41e
Add SCSS language support ( #3074 )
2022-07-17 17:55:20 +08:00
Mateusz S. Szczygieł
5f69beb87f
Add textobjects.scm to GLSL ( #3051 )
2022-07-12 10:13:57 -05:00
Philipp Mildenberger
e97b8607c1
Added ungrammar language support ( #3048 )
2022-07-12 10:06:53 -05:00
Austen LeBeau
0cb0c30618
add fortran language ( #3025 )
2022-07-10 11:27:44 -05:00
Matthew Toohey
d78354c537
add language `idris` ( #2971 )
2022-07-05 20:00:38 +09:00
rsteube
4c30a3609a
languages: added elvish ( #2948 )
2022-07-03 16:19:12 -05:00
Blaž Hrastnik
a1c1abca2b
fix CI
2022-07-01 21:24:10 +09:00
Michael Davis
64cf4c859b
support Bazel languages ( #2903 )
2022-06-28 08:48:38 +05:30
Hekno25
33e6df8707
feat: add wgsl_analyzer as wgsl language server ( #2872 )
2022-06-24 16:21:26 -05:00
Gygaxis Vainhardt
debd2405d9
views -> buffers in write-all ( #2788 )
2022-06-16 16:09:30 -05:00
Axot
4d604d3b50
Add clojure language support ( #2780 )
...
Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
2022-06-16 11:47:52 -05:00
Ivan
0bc7259672
add prisma tree-sitter and lsp support ( #2703 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-06-12 14:08:51 -05:00
Michael Davis
f7a3d35752
add textobject queries for gleam
2022-06-07 20:03:31 +09:00
Michael Davis
bcafdf404f
add textobject queries for elixir
2022-06-07 20:03:31 +09:00
Michael Davis
7a9147489e
add textobject queries for erlang
2022-06-07 20:03:31 +09:00
farwyler
f0d1c85553
support for openscad ( #2680 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-06-06 12:26:56 -05:00
Termina94
f1ae496860
Add shell insert commands to typable and config ( #2589 )
...
* Add shell insert commands to typable and config
* generate docs
Co-authored-by: Dean Revell <revell@gmail.com>
2022-06-05 19:52:41 +09:00
Michael Davis
fd4858c03d
add tree-sitter-jsdoc ( #2650 )
2022-06-03 10:26:47 +05:30
Michael Davis
42d780b103
add tree-sitter-edoc ( #2640 )
...
* add tree-sitter-edoc
* fix escape character capture in markdown queries
* add field negation operator "!" to tsq highlights
2022-06-03 07:41:17 +08:00
pancake
7706a4a0d8
Add Vlang tree-sitter in the languages.toml ( #2526 )
...
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-05-28 14:46:10 -05:00
Andrey Tkachenko
67fe16008e
Basic verilog support ( #2552 )
2022-05-24 12:52:32 -05:00
Erasin
386dccc84e
Add lua lsp ( #2560 )
2022-05-24 10:03:53 -05:00
Blaž Hrastnik
8df8ff27c2
cargo xtask docgen
2022-05-22 00:20:45 +09:00
Jacob Thompson
e8e252648f
Added a default lsp server for Java in languages.toml ( #2511 )
...
* Added a default lsp server for Java in languages.toml
* Added a default lsp server for Java in languages.toml cont.
Co-authored-by: Jacob Thompson <a01657923@usu.edu>
2022-05-20 15:17:46 +09:00
midnightexigent
8493b5fca6
Add tree-sitter ssh client config queries ( #2498 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-05-18 14:49:50 -05:00
amaihoefner
a5bc69c2b5
feat(commands): add log-open command ( #2422 )
2022-05-11 10:18:45 +09:00
unrelentingtech
2cb1ea7127
feat(lang): add Meson language support ( #2314 )
...
https://mesonbuild.com/Syntax.html
2022-05-11 10:06:37 +09:00
Robert Walter
495ba40eaf
feat(languages): add odin language ( #2399 )
2022-05-05 12:09:09 -05:00
Matthew Toohey
a5f4925f53
feat(languages): git-ignore and git-attributes ( #2397 )
2022-05-05 08:47:28 -05:00
Ben Lee-Cohen
09a17e4fa3
Making the 'set-option' command help more descriptive. ( #2365 )
...
* Making the 'set-option' command help more descriptive.
* Adding the generated docs
* Making the message multi-line
* Replace newline with break in generated docs
2022-05-04 11:17:08 +09:00
Vince Mutolo
f9baced216
add reflow command ( #2128 )
...
* add reflow command
Users need to be able to hard-wrap text for many applications, including
comments in code, git commit messages, plaintext documentation, etc. It
often falls to the user to manually insert line breaks where appropriate
in order to hard-wrap text.
This commit introduces the "reflow" command (both in the TUI and core
library) to automatically hard-wrap selected text to a given number of
characters (defined by Unicode "extended grapheme clusters"). It handles
lines with a repeated prefix, such as comments ("//") and indentation.
* reflow: consider newlines to be word separators
* replace custom reflow impl with textwrap crate
* Sync reflow command docs with book
* reflow: add default max_line_len language setting
Co-authored-by: Vince Mutolo <vince@mutolo.org>
2022-05-02 23:24:22 +09:00
Ryosuke Hayashi
f85f0b7272
Add run-shell-command for Commands ( #1682 )
...
* add run_shell_command
* docgen
* fix command name
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* refactored Info::new
* show 'Command failed' if execution fails
* TypedCommand takes care of error handling and printing the error to the statusline.
* docgen
* use Popup instead of autoinfo
* remove to_string in format!
* Revert chage in info.rs
* Show "Command succeed" when success
* Fix info.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2022-05-02 23:15:02 +09:00
Fanda Vacek
1668183590
feat(lang): Cpon lang support ( #2355 )
...
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
2022-05-01 09:34:46 -05:00
Blaž Hrastnik
8bb89dafa2
cargo xtask docgen
2022-05-01 11:37:14 +09:00
unrelentingtech
8e77e3388c
feat(lang): add devicetree (Flattened Device Tree Source) ( #2329 )
2022-04-29 15:08:00 -05:00
chunghha
3a398eec56
fix typos ( #2304 )
2022-04-27 14:21:20 -05:00
Alexis Kalabura
2e46961886
feat(lsp): add toml lsp ( #2302 )
2022-04-27 13:48:04 -05:00
meak
1a3d6252b9
feat(lang): add hare language support ( #2289 )
...
Co-authored-by: Mehdi Katranji <hello@mek.yt>
2022-04-26 14:55:00 -05:00
ttys3
a8cb46680d
feat(lsp): add vala language support ( #2243 )
2022-04-24 11:21:07 -05:00
Daniel
15db6031bb
Add :get-option command ( #2231 )
2022-04-24 16:00:18 +05:30
Lukas
5ca8dfe57c
fix(lsp): divide hcl into seperate languages ( #2244 )
2022-04-23 16:08:12 -05:00
Lukas
1c1ba006ae
feat(lsp): add yaml lsp ( #2234 )
2022-04-23 08:38:29 -05:00
Kirawi
dd5a7c6191
Replace line endings using `set_line_ending` command ( #1871 )
...
* set_line_ending: now replace line endings
* use ending.len_chars() directly
* account for unicode-lines feaure in line-ending doc
2022-04-23 17:01:08 +09:00
Justin Ma
5c2570582b
feat(lang): add nushell language support ( #2225 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-04-22 09:37:51 -05:00
ttys3
4144c9d2f2
feat(lang): add go.mod and go.work support ( #2197 )
2022-04-20 11:16:02 -05:00
Erin van der Veen
9616477197
Add Nickel language ( #2173 )
2022-04-20 09:31:59 -05:00
Danillo Melo
be656c14e3
Ruby TextObjects and more file extensions ( #2143 )
2022-04-17 19:25:44 -05:00
Thomas
2eca2901f3
Pipe typable command ( #1972 )
...
Co-authored-by: DeviousStoat <devious@stoat.com>
2022-04-17 12:03:47 +09:00
EmmChriss
50df924811
gdscript support ( #1985 )
2022-04-16 00:35:23 +09:00
Jared Ramirez
460e6a857b
feat(languages): SQL ( #2097 )
2022-04-14 13:26:20 -05:00
Michael Davis
4836bb38d3
add tree-sitter-heex
...
HEEx is a templating engine on top of Elixir's EEx templating
language specific to HTML that is included in Phoenix.LiveView
(though I think the plan is to eventually include it in base
Phoenix). It's a superset of EEx with some additional features
like components and slots.
The injections don't work perfectly because the Elixir grammar is
newline sensitive (the _terminator rule). See
https://github.com/elixir-lang/tree-sitter-elixir/issues/24
for more information.
2022-04-13 14:28:51 +09:00
Michael Davis
9d095e0fdc
add tree-sitter-eex
...
EEx is an templating language for Elixir. Since the incremental
parsing refactor we can used combined injections which allows us
to add EEx support.
2022-04-13 14:28:51 +09:00
Omnikar
660e0e44b2
Add `:write!` to create nonexistent subdirectories ( #1839 )
...
* Make `:write` create nonexistent subdirectories
Prompting as to whether this should take place remains a TODO.
* Move subdirectory creation to new `w!` command
2022-04-12 16:52:54 +09:00
Michael Davis
494306ad7a
add tree-sitter-embedded-template (erb & ejs) ( #2055 )
...
After the incremental parsing rewrite for injections (which was released
in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite ),
we can now do combined injections which lets us pull in some templating
grammars. The most notable of those is embedded-template - a pretty
straightforward grammar that covers ERB and EJS.
The grammar and highlights queries are shared between the two but they have
different injections.
2022-04-10 08:23:06 +09:00
Kurenshe Nurdaulet
0b410b0a16
Add default language server for Vue ( #2043 )
2022-04-08 21:04:22 -05:00
unrelentingtech
7f461895b0
Add language server command for OCaml ( #2035 )
2022-04-08 15:02:25 -05:00
Aaron Housh
9caf7c0d5a
Add swift language ( #2033 )
2022-04-08 13:10:37 -05:00
Karl Grasegger
8e12fd5290
PHP roots and languageserver improvements ( #2031 )
...
Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
2022-04-08 12:57:46 -05:00
David
61d1684a32
Add default language server for CSS ( #2025 )
2022-04-08 10:06:54 -05:00
David
22629ca211
Add default language server for JSON ( #2024 )
2022-04-08 10:06:41 -05:00
David
b5efb9d66c
Add default language server for HTML ( #2018 )
2022-04-08 08:36:10 -05:00