Blaž Hrastnik
a1228e0aa1
Set terminal title to currently focused file
2021-10-24 16:52:38 +09:00
Blaž Hrastnik
03f2bcc60b
nix: Update lld to 12
2021-10-23 15:20:45 +09:00
Gokul Soumya
4ee92cad19
Add treesitter textobjects ( #728 )
...
* Add treesitter textobject queries
Only for Go, Python and Rust for now.
* Add tree-sitter textobjects
Only has functions and class objects as of now.
* Fix tests
* Add docs for tree-sitter textobjects
* Add guide for creating new textobject queries
* Add parameter textobject
Only parameter.inside is implemented now, parameter.around
will probably require custom predicates akin to nvim' `make-range`
since we want to select a trailing comma too (a comma will be
an anonymous node and matching against them doesn't work similar
to named nodes)
* Simplify TextObject cell init
2021-10-23 11:41:19 +09:00
Blaž Hrastnik
c5298caa75
book: Add a link to tutor.txt
2021-10-23 11:33:17 +09:00
ath3
787ba4f233
CMake support ( #888 )
2021-10-23 08:57:21 +09:00
Rowan H
6c995fa690
Fixed incorrect move commands ( #894 )
2021-10-23 08:54:23 +09:00
Rowan H
75a8e8afbd
Typo fix ( #893 )
2021-10-23 08:54:02 +09:00
Blaž Hrastnik
96945be1a8
Fix doctest broken on 2021 edition
2021-10-22 12:47:02 +09:00
Blaž Hrastnik
182a59b552
Update to rust 1.56 + 2021 edition
2021-10-22 12:15:18 +09:00
Daniel S Poulin
3b032e8e1f
First stab at ignoring compressed files from picker ( #767 )
2021-10-22 10:02:05 +09:00
Ray Gervais
2edc85e953
fixes: missing info, warning diagnostic ( #890 )
2021-10-22 09:58:49 +09:00
Omnikar
f467154e18
Add Alt-,
to keymap.md
, and replace hard-to-see commas with slashes ( #884 )
...
* Add `A-,` to `keymap.md`, and remove out-of-place commas
* Update book/src/keymap.md
Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add slashes in place of previous commas in `keymap.md`
Co-authored-by: Ivan Tham <pickfire@riseup.net>
2021-10-22 09:58:26 +09:00
radical3dd
b1ebd7a07e
Replace current selection with all yanked values. ( #882 )
2021-10-21 09:44:53 +09:00
Blaž Hrastnik
e9b23c29d8
Ignore errors when disabling mouse capture
2021-10-20 00:01:11 +09:00
Blaž Hrastnik
9688cb74a1
Update dependencies to bump crossterm to 0.22.1
...
Fixes #825
Fixes #690
2021-10-19 23:58:51 +09:00
VuiMuich
67829976fa
Add C-j
and C-k
to keybinds for picker ( #876 )
...
* Add `C-j` and `C-k` for moving down/up in pickers
* Add new binds to keymap doc
2021-10-19 18:37:38 +09:00
Michael Davis
1766bdb9d4
clean up combined-injections comment ( #880 )
2021-10-19 13:08:06 +09:00
WindSoilder
7146ae9388
Refactor nord theme ( #874 )
...
* refactor again
* remove useless color
2021-10-19 12:17:05 +09:00
dependabot[bot]
cdfa0dfa36
build(deps): bump chardetng from 0.1.14 to 0.1.15 ( #879 )
...
Bumps [chardetng](https://github.com/hsivonen/chardetng ) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/hsivonen/chardetng/releases )
- [Commits](https://github.com/hsivonen/chardetng/commits )
---
updated-dependencies:
- dependency-name: chardetng
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-19 09:36:25 +09:00
dependabot[bot]
c212325e6a
build(deps): bump encoding_rs from 0.8.28 to 0.8.29 ( #877 )
...
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs ) from 0.8.28 to 0.8.29.
- [Release notes](https://github.com/hsivonen/encoding_rs/releases )
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.28...v0.8.29 )
---
updated-dependencies:
- dependency-name: encoding_rs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-19 09:35:52 +09:00
WindSoilder
2ac9d30bf3
improve menu selected color for nord ( #873 )
2021-10-18 16:39:54 +09:00
CossonLeo
9ac0c95161
Improve completion trigger ( #838 )
...
* improve idle completion trigger
* add completion-trigger-len to book
* rename semantics_completion to language_server_completion and optimize idle completion trigger
2021-10-18 15:14:50 +09:00
Blaž Hrastnik
a03b12530c
Merge pull request #830 from the-mikedavis/official-elixir-tree-sitter
...
prefer elixir-lang/tree-sitter-elixir
2021-10-18 15:13:39 +09:00
Ray Gervais
c278b43319
adds: base16 theme for Helix editor ( #833 )
2021-10-18 10:31:57 +09:00
WindSoilder
bb011f9fb2
Add indents for python, but it's not perfect. ( #837 )
...
* add indents for python, but it's not Perfect
* add last line
2021-10-18 10:01:53 +09:00
Michael Davis
4d8eb09b7c
scope arities in captures as operators
2021-10-17 10:50:20 -05:00
Michael Davis
80b54f2f69
use special.string.symbol instead of symbol
...
this aligns better with how ruby highlights symbols
2021-10-17 10:50:20 -05:00
Michael Davis
8f658f0dce
use latest tree-sitter-elixir with 'not in' query support
...
connects https://github.com/elixir-lang/tree-sitter-elixir/issues/9
2021-10-17 10:50:20 -05:00
Michael Davis
4771cc7ee4
align highlight scopes with documented scopes
2021-10-17 10:50:20 -05:00
Michael Davis
c502cafecc
highlight calls to erlang modules as types
...
connects https://github.com/elixir-lang/tree-sitter-elixir/pull/5
2021-10-17 10:50:20 -05:00
Michael Davis
b2655a7f5c
add LICENSE snippet at elixir hightlights top
2021-10-17 10:50:19 -05:00
Michael Davis
95ab40d171
use the warning type for tree-sitter ERRORs
2021-10-17 10:50:19 -05:00
Michael Davis
5db248cc1c
describe atoms as tags
2021-10-17 10:50:19 -05:00
Michael Davis
d1b434d230
add highlights query from elixir-lang/tree-sitter-elixir
2021-10-17 10:50:19 -05:00
Michael Davis
6c0786edc5
prefer elixir-lang/tree-sitter-elixir
2021-10-17 10:50:19 -05:00
Michael Davis
e216e9621e
Enable c-sharp language and highlights ( #861 )
2021-10-17 13:45:09 +09:00
Ivan Tham
89707a858f
Make auto-completion a config ( #853 )
2021-10-16 22:57:41 +09:00
Blaž Hrastnik
2c0468ffd1
fix: If backspacing past the start offset, cancel completion
...
Refs #822
2021-10-16 18:43:07 +09:00
Michael Davis
be428a295a
fix digit escapes in java & php highlights ( #846 )
2021-10-16 18:02:06 +09:00
Michael Davis
e069fb9dea
Add highlight support for tree-sitter-query language (tsq) ( #845 )
...
* add submodule on tree-sitter/tree-sitter-tsq
mark tsq submodule as shallow
* add tree-sitter-tsq to languages
* add highlight queries for tsq
* Update .gitmodules
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2021-10-16 17:58:04 +09:00
Omnikar
43465926be
Continue tutor ( #737 )
...
* Add sections
* `COUNTS WITH MOTIONS`
* `SELECTING LINES`
* `UNDOING`
* Adjust lesson spacing to conform to page-wise scrolling
Vertical length of lessons reduced by 1 line so that page-up and
page-down move cleanly between lessons.
* Add sections
* `THE CHANGE COMMAND`
* `RECAP`
* `MULTIPLE CURSORS`
* Fix height of `RECAP` section
* Fix typo in `MULTIPLE CURSORS`
* Add additional information about space mode to `MULTIPLE CURSORS`
* Change `<SPACE><SPACE>` to `,`
* Add sections
* `THE SELECT COMMAND`
* `SELECTING VIA REGEX`
* `COLLAPSING SELECTIONS`
* Fix quote inconsistency
2021-10-16 12:47:45 +09:00
Omnikar
6063ecf3b4
Add note about FAQ to README.md
( #848 )
2021-10-16 10:05:29 +09:00
Omnikar
c71b49497d
Set CWD when editor is started with a directory ( #849 )
2021-10-16 10:04:26 +09:00
Leoi Hung Kin
4d07eaa48b
Prevent LSP Messages from displaying when a prompt is presented ( #824 )
...
* Prevent LSP Messages from displaying when a prompt is presented
* use match guard
2021-10-15 17:36:39 +09:00
WindSoilder
ef3f78b6ce
fix nord ui focus color ( #844 )
2021-10-15 17:36:01 +09:00
WindSoilder
47208b990b
improve contract on nord comment color ( #842 )
2021-10-14 18:03:35 +09:00
WindSoilder
b42ef0e028
Using pylsp instead of pyls ( #834 )
2021-10-13 11:24:37 +09:00
dependabot[bot]
933db94f2f
build(deps): bump lsp-types from 0.90.0 to 0.90.1 ( #829 )
...
Bumps [lsp-types](https://github.com/gluon-lang/lsp-types ) from 0.90.0 to 0.90.1.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases )
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.90.0...v0.90.1 )
---
updated-dependencies:
- dependency-name: lsp-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 09:40:19 +09:00
dependabot[bot]
a6b393f598
build(deps): bump thiserror from 1.0.29 to 1.0.30 ( #828 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 09:40:06 +09:00
dependabot[bot]
6cb0d1c4e4
build(deps): bump libloading from 0.7.0 to 0.7.1 ( #827 )
...
Bumps [libloading](https://github.com/nagisa/rust_libloading ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/nagisa/rust_libloading/releases )
- [Commits](https://github.com/nagisa/rust_libloading/commits )
---
updated-dependencies:
- dependency-name: libloading
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 09:39:56 +09:00