1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:30:05 +08:00
Commit Graph

2806 Commits

Author SHA1 Message Date
Shidong Wang
da40455f5c
feat(lang#rust): add more lsp key bindings for rust 2021-10-10 23:16:11 +08:00
Shidong Wang
773aa07b46
feat(lang#javascript): add more lsp key bindings
1. SPC l x: show references
2. SPC l s: show line diagnostics
3. SPC l w l: list workspace folder
4. SPC l w a: add workspace folder
5. SPC l w r: remove workspace folder
6. add `g D` for type def jumping
2021-10-07 23:22:04 +08:00
Shidong Wang
6ad6022d96
feat(unicode#box, lsp): improve drawing_box() && workspace viewer 2021-10-07 22:52:20 +08:00
Shidong Wang
cc73d9dd30
feat(lsp): add vim-language-server command 2021-10-07 22:22:36 +08:00
Wang Shidong
a7bedbc5dc
fix(flygrep): fix flygrep replace mode with grep command 2021-10-07 19:30:31 +08:00
Shidong Wang
5b76a80c40
feat(lsp): use unicode#box api to display workspace list 2021-10-07 19:17:33 +08:00
Shidong Wang
d0cf0abc92
style(leaderf): update description of SPC h i 2021-10-07 14:33:48 +08:00
Shidong Wang
82d36bb8b7
fix(lsp): avoid unknown function error 2021-10-07 00:32:29 +08:00
Shidong Wang
35bdf0da3e
feat(lsp): make SPC e c support to clear diagnostics
If lsp is enabled for current buffer. SPC e c should be able to
clear diagnostics.
2021-10-06 22:56:47 +08:00
Shidong Wang
aa3deb1f25
feat(lang#python): add g D to jump type definition
- fix `g d` lsp checking
- add `g D` for type def jumping
2021-10-06 22:40:26 +08:00
Shidong Wang
6767f4da4e
fix(checkers): clear lsp diagnostics for normal buffer
Problem: SPC e l always list lsp diagnostics.
Solution: clear diagnostics if buf_server_ready return false.
2021-10-06 16:20:52 +08:00
Shidong Wang
309728bcf2
feat(lang#python): add more lsp key bindings
Problem: Only a few lsp shortcuts are defined for python.
Solution: add more lsp key bindings
1. SPC l x: show references
2. SPC l s: show line diagnostics
3. SPC l w l: list workspace folder
4. SPC l w a: add workspace folder
5. SPC l w r: remove workspace folder
2021-10-06 15:30:36 +08:00
Shidong Wang
c32aa6f225
fix(lsp): fix lsp support in nvim
Use LanguageClient-neovim for old neovim
2021-10-05 23:17:41 +08:00
Shidong Wang
55365f64f8
feat(checkers): support lsp diagnostic jumping
If the lsp is enabled for current buffer. the following key
bindings should support lsp diagnostic.
1. SPC e l: diagnostic set location list
2. SPC e n: jump to next diagnostic
3. SPC e p: jump to previous diagnostic
2021-10-05 22:47:55 +08:00
Shidong Wang
c6156bf766
feat(lang#vim): add workspace related key bindings
Add three key bindings:
1. SPC l w l: list workspace folder
2. SPC l w a: add workspace folder
3. SPC l w r: remove workspace folder
2021-10-05 22:01:32 +08:00
Shidong Wang
e8a75bc7e2
feat(lang#vim): add SPC l s key binding
Add `SPC l s` to show line diagnostics when lsp layer is enabled
for vim script.
2021-10-05 19:49:17 +08:00
Shidong Wang
9d374eaa3c
feat(lang#vim): add SPC l x key binding
Add a key binding `SPC l x` to show references when the `lsp`
layer is enabled for vim script.
2021-10-05 19:22:12 +08:00
Shidong Wang
43fc0e8df2
fix(lang#vim): fix lang#vim layer key bindings 2021-10-05 16:22:39 +08:00
Shidong Wang
57211cc410
fix(treesitter): fix layer test
fix unknown function `SpaceVim#layers#treesitter#health`
2021-10-05 15:34:07 +08:00
Shidong Wang
22b663b5b9
feat(layer): add treesitter layer 2021-10-05 15:30:36 +08:00
Wang Shidong
da18ba0a45
feat(lsp): add neovim-lsp (#4319) 2021-10-05 15:13:10 +08:00
Shidong Wang
516e0525e2
feat(core): update to v1.9.0-dev 2021-10-04 21:26:44 +08:00
Shidong Wang
93aeb032fa
Release v1.8.0 2021-10-04 20:49:11 +08:00
Shidong Wang
a45a8242ff
feat(layer): add julia code formattor
Problem: can not format julia.
Solution: add custom neoformat configuration for julia
2021-10-04 18:49:52 +08:00
Shidong Wang
2f4a805440
doc(layer): add :h SpaceVim-layers-tools-mpv 2021-10-03 20:09:30 +08:00
Shidong Wang
a2734a9e1c
doc(layer): add :h SpaceVim-layers-lang-smalltalk 2021-10-03 19:41:15 +08:00
Stefan Borović
892b18fe0b
fix(plugin): Allow :A to switch between *.h and {}.c
Problem: `:A` does not support jumping between `*.h` and `{}.c`
Solution:
1. use `stridx()` and `strrid()` to check the key.
2. improve `s:get_type_path(a, f, b)`
2021-10-02 22:52:09 +08:00
Shidong Wang
247b15501f
doc(layer): update :h SpaceVim-layers-lang-typescript 2021-10-02 21:28:54 +08:00
Shidong Wang
553749f5f0
feat(layer): use notify api in lang#vim layer
Problem: no info about doc generation.
Solution:
1. run notify api on job exit.
2. add `:h SpaceVim-layers-lang-vim`
2021-10-02 20:48:35 +08:00
Shidong Wang
e33aeb1b00
fix(layer): add :h SpaceVim-layers-lang-vue
Problem: failed to lint vue file.
Solution:
1. change eslint-plugin-html to eslint-plugin-vue
2. update vue layer page
3. add `:h SpaceVim-layers-lang-vue`

close https://github.com/SpaceVim/SpaceVim/issues/4488
2021-10-01 23:23:09 +08:00
Shidong Wang
879378000f
doc(layer): add :h SpaceVim-layers-lang-zig 2021-10-01 22:15:53 +08:00
Shidong Wang
3b6ad7f7d7
doc(layer): add :h SpaceVim-layers-lang-fennel 2021-10-01 19:52:49 +08:00
Shidong Wang
3a68e6ad21
doc(core): add :h SpaceVim-options-bootstrap_after/before
Problem: there isn't doc about boostrap function.
Solution:
1. add `:h SpaceVim-options-bootstrap_before`
2. and `:h SpaceVim-options-bootstrap_after`
3. update cn documentation about the differences between
   bootstrap_after and bootstrap_before function.
2021-10-01 18:49:22 +08:00
Shidong Wang
7de44bde74
doc(layer): add :h SpaceVim-layers-lang-autoit 2021-10-01 18:27:41 +08:00
Shidong Wang
f544542ac9
doc(layer): update :h SpaceVim-layers-lang-agda 2021-10-01 18:22:05 +08:00
Shidong Wang
2253f54be5
fix(layer): fix rustfmt_cmd option in lang#rust layer
Problem: `rustfmt_cmd` option does not work.
Solution: apply `rustfmt_cmd` to neoformat option.

close https://github.com/SpaceVim/SpaceVim/issues/4307
2021-10-01 16:58:56 +08:00
Shidong Wang
a08746ffce
doc(layer): update :h SpaceVim-layers-lang-java 2021-10-01 15:48:50 +08:00
Shidong Wang
e098ae3445
feat(core): add code_runner_focus option
Problem: can not focus on code runner windows.
Solution: add `code_runner_focus` option to focus
on code runner windows.

close https://github.com/SpaceVim/SpaceVim/issues/4130
2021-10-01 15:25:42 +08:00
Jaryk
14d75c0441
fix(lsp): replace javascript lsp command 2021-10-01 14:27:58 +08:00
Shidong Wang
f48b6a9ae6
doc(core): add :h SpaceVim-dev 2021-09-28 23:37:52 +08:00
Shidong Wang
d604674a95
doc(layer): update :h SpaceVim-layers-git 2021-09-28 23:02:09 +08:00
Shidong Wang
77d57270c4
doc(layer): update :h SpaceVim-layers-leaderf 2021-09-25 23:37:02 +08:00
Wang Shidong
71d78fae3c
feat(layer): add enable_tmux_clipboard option
close https://github.com/SpaceVim/SpaceVim/issues/3670
2021-09-25 22:51:01 +08:00
Shidong Wang
a319735129
add(core): add key binding to toggle auto parens mode
Problem: there is no key binding to toggle auto parens mode
Solution: add `SPC t P` to toggle auto parens mode

close https://github.com/SpaceVim/SpaceVim/issues/4312
2021-09-25 21:34:44 +08:00
Shidong Wang
483e3c0e29
change(core): deprecate statusline_unicode_symbols option
Problem: the option name is too long
Solution: change `statusline_unicode_symbols` to `statusline_unicode`
2021-09-25 21:09:11 +08:00
Shidong Wang
72349e4dd7
change(core): deprecate project_rooter_automatically option
change `project_rooter_automatically` to `project_auto_root`
2021-09-25 21:00:22 +08:00
Shidong Wang
654cfc8855
feat(core): add SPC h g/G to run helpgrep asynchronously
Problem: `:helpgrep` is too slow, there is no key binding for
         asynchronously helpgrep.
Solution: - Add `SPC h g` to run helpgrep asynchronously.
          - Add `SPC h G` to run helpgrep with cursor word
            asynchronously
2021-09-22 23:20:51 +08:00
Jaryk
218f16e4f5
fix(lsp): specify cmd for typescriptreact 2021-09-22 11:25:11 +08:00
Shidong Wang
b8eae5e4f7
fix(plugin): Fix key binding error E225
problem: when save file, always get error
         `E225: global mapping already exists for (`
solution: remvoe unique when defind mappings

close https://github.com/SpaceVim/SpaceVim/issues/4109
2021-09-21 22:41:23 +08:00
Shidong Wang
bdc0101b9a
feat(core): Add SPC f a key binding to save as new file
Problem: There is no key binding to save current buffer as new file.
Solution: Add `SPC f a` key binding

close https://github.com/SpaceVim/SpaceVim/issues/4310
2021-09-21 22:04:26 +08:00