Commit Graph

674 Commits (main)

Author SHA1 Message Date
Em Zhan 7090555dab
Add `insert-final-newline` config option (#8157)
Co-authored-by: Xalfer <64538944+Xalfer@users.noreply.github.com>
8 months ago
Jesse Luehrs 81d6d3ff0e
re-add indent and textobject queries for perl (#7947)
* bump tree-sitter-perl version

need some grammar tweaks for the indent queries to function properly

* add indent queries for perl

* add textobject queries for perl
8 months ago
Luke Halasy b959162ceb
Add tree-sitter-highlight-name command (#8170)
* adds treesitter-highlight-name command

* commit documentation changes

* moves the get_highlight_name function into core/syntax

* rename get_highlight_name function to get_highlight_for_node_at_position

* addresses pr comments: moves fn into helper fn, simplifies a lot

* commit updated documentation changes

* changes scope method to return &str so that callers can decide whether or not to own
8 months ago
Theodore Gregory 14401ff75b
docs: fix link to document formatting requests (#8166) 8 months ago
Weiyuan Wu 8017bb2999
add redraw command (#6949)
Co-authored-by: Roberto Vidal <vidal.roberto.j@gmail.com>
8 months ago
chtenb 7fffc0a5d1
Rename reset to default (#8114)
Use `default` instead of `reset`, as this is the conventional name for ANSI codes 39/49. The word `reset` should be reserved for ANSI code `0`, which resets both fg and bg colors at once, while also removing all modifiers. While the code uses the value name `Reset`, this is misleading and should not leak into the user space.
8 months ago
West 82cd445715
add `reset` to the color palette (#8083) 8 months ago
Sol Fisher Romanoff aeaeb09f48
add gemini language support (#8070) 8 months ago
Bjorn Ove Hay Andersen 0a45fb4371
document a-ret picker keybinding (#7884) 9 months ago
sigmaSd cbfe8eef89
add strace highlighting (#7928)
* feat: add strace tree sitter

* f
9 months ago
Jesse Luehrs 2caca1c4e9
Add pod highlighting (#7907) 9 months ago
Daniel Ebert ee3171cc54 Document @align indent capture. 9 months ago
Skyler Hawthorne 929eb0c39e expand indents guide 9 months ago
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
9 months ago
Jan9103 c0eae84073
feat: add todo.txt tree-sitter (#7835) 9 months ago
zetashift 294aa669a2
Add Unison support (#7724) 9 months ago
Tshepang Mbambo cefc33e3df
use AND operator when searching (#7839)
This makes search results less surprising, because it is how major web search engines behave
9 months ago
Connortsui20 fcbac485f8
Show whether file readonly in statusline (#7740) 9 months ago
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.
9 months ago
woojiq 1d189820a1
feat(indent): add basic java indentation queries (#7844) 9 months ago
Jummit f19793c2f8
Improve wren support (#7819) 9 months ago
Jimmy Zelinskie 325692a154
languages: add protobuf language servers (#7796)
* languages: add bufls protobuf language server

* languages: add pbkit protobuf language server
9 months ago
Skyler Hawthorne 15e07d4db8 feat: smart_tab
Implement `smart_tab`, which optionally makes the tab key run the
`move_parent_node_start` command when the cursor has non- whitespace to
its left.
9 months ago
Michael Davis d4f9716fbc Add yank_to_clipboard commands, bind to `<space>y` by default
The clipboard special registers are able to retain multiple selections
and also join the value when copying it to the clipboard. So by default
we should yank regularly to the '*' and '+' registers. That will have
the same behavior for the clipboards but will allow pasting multiple
selections if the clipboard doesn't change between yanks.
9 months ago
Michael Davis 86a1f0177c book: Document default and special registers 9 months ago
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>
9 months ago
Jummit 9a4890f62b
Add wren support (#7765) 9 months ago
sigmaSd 5ec126d3e2
Fix docs for default statusline config (#7720) 9 months ago
J. Brock 2fa576b177
Remove snap aliasing instructions (#7657)
The helix snap now gets aliased to hx by default at installation time,
so manual aliasing should no longer be required.

Signed-off-by: Joseph Brock <joseph.brock@protonmail.com>
10 months ago
Jesse Luehrs e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 10 months ago
kaashyapan 2ace6032e7
Add fsharp language support (#7619) 10 months ago
woojiq ab819ede9a
docs(install): add how to install helix from snap (#7625) 10 months ago
Erasin Wang 2cb00bcbc4
Support inlay-hints for svelteserver. (#7622) 10 months ago
Em Zhan 9a324f337a
docs: Update mdBook theme and improve maintainability (#7524) 10 months ago
Borys Lykah 7c338429f8
Add language support for persistent library syntax (#7261) 10 months ago
Ryan Fowler 828c7432e3
Implement the wa! command (#7577) 10 months ago
zer0-x 9ccca81305
book: Rename Arch Linux's repository from `community` to `extra` (#7543) 10 months ago
Tshepang Mbambo 9546e0c0a7
docs: align content with parent paragraph (#7488) 10 months ago
Álan Crístoffer 2c5288dafb
Replace MATLAB grammar (#7388) 10 months ago
Alexander Brevig b4fe31cad6
Add forth-lsp and update tree-sitter-forth (#7334)
* feat: add forth lsp and update tree sitter

* fix: update highlights
11 months ago
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.
11 months ago
Alex 3fb9fafb2a
Add config for default line ending (#5621) 11 months ago
Ivan Svoboda df094909d1
Webc language support (#7290)
* feat: add webc language support

* feat: add to lang-support book webc
11 months ago
Thomas Aarholt cbe2308210
Explain how to enter Select mode in keymap (#7333)
* Explain how to enter Select mode

Also added an equivalent explanation that Insert mode is the default, with how to return to it.

* Fix glarious typo
11 months ago
Zisulin Morbrot fbd22afe29
Add rl and rla aliasses for reload and reload-all commands (#7158) 11 months ago
kazimir malevich 37fcd160db
Clarify the runtime directory location in installation docs (#6624)
* runtime config made clearer

* following Unix FHS

* we probably want to install Helix as a regular user without sudo access

* suggestions adopted from @the-mikedavis

* attempted to synthesise comments given

* capitalisation of second header

* required changes hopefully made

* we should have a match now

* Linux windows dir match
11 months ago
Selwyn 18e07addfd
Use Vue language server based on Volar (#7312) 11 months ago
Luca Schlecker dbd248fdfa add config option for instant completion entry preview (defaulting to true).
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
11 months ago
spectre256 00b152facd
Add register statusline element (#7222) 11 months ago
Tshepang Mbambo e2a1678436
Fix book configuration for edit template (#7278) 11 months ago