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
Matthew Toohey
31c468ab95
add languages `r` and `rmarkdown` ( #1998 )
...
* add languages `r` and `rmarkdown`
* r: fix highlights
* rmarkdown: add eof in queries
* rmarkdown: update lang-support.md
* r: fix highlight query precedence
2022-04-08 09:30:44 +09:00
VuiMuich
eb84d9493c
add language `ron` ( #1925 )
2022-04-05 07:39:22 -05:00
Roland Kovacs
d962e06e91
Add runtime language configuration ( #1794 ) ( #1866 )
...
* Add runtime language configuration (#1794 )
* Add set-language typable command to change the language of current buffer.
* Add completer for available language options.
* Update set-language to refresh language server as well
* Add language id based config lookup on `syntax::Loader`.
* Add `Document::set_language3` to set programming language based on language
id.
* Update `Editor::refresh_language_server` to try language detection only if
language is not already set.
* Remove language detection from Editor::refresh_language_server
* Move document language detection to where the scratch buffer is saved.
* Rename Document::set_language3 to Document::set_language_by_language_id.
* Remove unnecessary clone in completers::language
2022-04-05 09:56:14 +09:00