1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 04:40:06 +08:00
Commit Graph

2885 Commits

Author SHA1 Message Date
Aron Griffis
04e4b3d121
feat(format): add vim-codefmt support
Co-authored-by: Wang Shidong <wsdjeg@outlook.com>
2021-10-23 14:50:09 +08:00
Shidong Wang
7f41707436
docs(usage): add :h SpaceVim-usage-windows-and-tabs 2021-10-23 11:14:34 +08:00
Shidong Wang
b014a7e6c3
docs(vim#window): fix type in :h SpaceVim-api-vim-window 2021-10-22 23:07:42 +08:00
Shidong Wang
3895d20589
docs(api): add :h SpaceVim-api-time 2021-10-22 23:04:16 +08:00
Shidong Wang
f022462a16
docs(layers): update :h SpaceVim-layers 2021-10-22 22:33:50 +08:00
Shidong Wang
66b253e9ff
fix(core): fix neovim-qt welcome page 2021-10-21 23:11:41 +08:00
Shidong Wang
7f0b6651a4
fix(core): fix parser_argv function
close https://github.com/SpaceVim/SpaceVim/issues/4503
close https://github.com/SpaceVim/SpaceVim/issues/3559
2021-10-21 21:52:38 +08:00
Shidong Wang
f6ac73b175
revert(shell)!: revert key binding <Esc> in terminal mode
Problem: There is no way to send Esc to terminal
Solution: revert Esc in terminal, add ctrl-` key binding to
hide terminal from terminal mode.

merge: https://github.com/SpaceVim/SpaceVim/pull/3170
BREAKING CHANGE: revert key binding `<Esc>` in terminal mode
Co-authored-by: Clément Joly <oss@171819.xyz>
2021-10-17 23:51:28 +08:00
Shidong Wang
a41fc80ee6
fix(ssh): fix layer test 2021-10-17 23:22:08 +08:00
Shidong Wang
cf9b7c08aa
fix(flygrep): save previous windows id
merge: https://github.com/SpaceVim/SpaceVim/pull/4479
Co-authored-by: jsecchiero <secchierojacopo@gmail.com>
2021-10-17 23:11:58 +08:00
Kun Lin
83aa15f1ee
feat(edit): support fullwidth vertical bar
Co-authored-by: Kun Lin <ssfjhh@gmail.com>
2021-10-17 13:16:30 +08:00
Shidong Wang
0d2f90825e
fix(lang#c): fix clang_std option
close https://github.com/SpaceVim/SpaceVim/issues/4335
2021-10-16 23:39:05 +08:00
Shidong Wang
3f8724524d
feat(ssh): add ssh layer 2021-10-16 22:23:53 +08:00
Shidong Wang
63c2bbf5af
fix(flygrep): fix replace mode of flygrep 2021-10-16 17:16:20 +08:00
Shidong Wang
b2d1d74606
refactor(fuzzy)!: change key binding SPC f F
use `SPC f F` to find cursor file in buffer directory

close https://github.com/SpaceVim/SpaceVim/issues/4311
BREAKING CHANGE: change key binding SPC f F
2021-10-16 15:15:53 +08:00
Shidong Wang
53e2a5cd84
fix(colorscheme): fix VertSplit highlight of colorscheme one 2021-10-16 14:15:54 +08:00
Shidong Wang
72005ed4bf
style(leaderf): unique key binding description 2021-10-16 14:09:50 +08:00
Shidong Wang
5c68676c53
feat(lang#go): add lsp support for golang 2021-10-16 13:14:53 +08:00
Shidong Wang
d5d2f1e066
docs(incsearch): update :h SpaceVim-layers-incsearch 2021-10-16 11:32:33 +08:00
Shidong Wang
ea07a88be4
style(incsearch): unique key binding description style 2021-10-16 11:24:31 +08:00
Shidong Wang
4e0f352961
fix(lang#lua): fix unknown variable
close https://github.com/SpaceVim/SpaceVim/issues/4495
2021-10-16 10:52:55 +08:00
Shidong Wang
1f2ce0e686
refactor(lang#lua)!: remove vim-support and add layer options
1. add `lua_file_head`
2. add `format_on_save`
3. disable lua-support

BREAKING CHANGE: remove lua-support plugin
2021-10-15 23:42:43 +08:00
Shidong Wang
71fd4db943
refactor(lang#lua): use bundle vim-lua plugin 2021-10-15 22:58:26 +08:00
Shidong Wang
d4e4fc27da
docs(lsp): update :h SpaceVim-layers-lsp 2021-10-15 10:10:55 +08:00
Shidong Wang
5f4b679832
feat(git): add omnifunc for git commit buffer 2021-10-15 00:19:55 +08:00
Shidong Wang
56b9d14e9a
refactor(tools#mpv)!: change default musics_directory
BREAKING CHANGE: `~/Music` is standard on macOS and
also on FreeDesktop's XDG.
2021-10-14 23:45:36 +08:00
Shidong Wang
2b40c524e8
feat(lang#julia): add lsp key bindings for julia 2021-10-11 00:42:45 +08:00
Shidong Wang
26baf7c2e4
docs(lang#markdown): update :h SpaceVim-layers-lang-markdown 2021-10-10 23:48:17 +08:00
Shidong Wang
d85912c15a
docs(lang#typescript): add doc for SPC l g d 2021-10-10 23:24:53 +08:00
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
Shidong Wang
eca2127327 doc(layer): add :h SpaceVim-layers-cscope 2021-09-20 23:14:28 +08:00
Shidong Wang
6d44ea4780 doc(layer): fix layer tags prefix 2021-09-20 22:16:14 +08:00
Wang Shidong
65816f2270
feat(unite): improve unite layer
close https://github.com/SpaceVim/SpaceVim/issues/4084
2021-09-20 22:07:27 +08:00
Shidong Wang
03b62e1ad7 feat(layer): add open_quickfix layer option
add `open_quickfix` layer option for `gtags` layer.
update `:h spacevim-layer-gtags`.

close https://github.com/SpaceVim/SpaceVim/issues/4135
2021-09-20 19:15:52 +08:00
Shidong Wang
6a1437f49f feat(layer): add layer option for filetree columns
the spacevim option for vimfiler columns is too long,
move them to core layer.
2021-09-20 16:33:25 +08:00
Shidong Wang
5866f07bb9 feat: use relative path for SPC f s 2021-09-19 23:07:56 +08:00
Shidong Wang
5f434d28c8 doc: update doc of checkers layer 2021-09-19 22:57:47 +08:00
Shidong Wang
3fc49916cc chore: update copyright 2021-09-19 22:23:23 +08:00
Shidong Wang
c143ae0712 doc: fix layer link
The link of these layer is wrong in help file.
- autocomplete layer
- colorscheme layer
2021-09-19 22:12:54 +08:00
Shidong Wang
7e613e11f9 docs: update :h SpaceVim-changelog 2021-09-19 22:06:14 +08:00
Wang Shidong
7e33b5e39b
Add doc for custom spc func (#4472) 2021-09-19 17:54:17 +08:00
Wang Shidong
68e123447a
Update core layer (#4467) 2021-09-19 17:32:31 +08:00
Wang Shidong
caa54d32e7
Change filetree gitstatus option name (#4465) 2021-09-12 23:45:01 +08:00
Wang Shidong
39bf31c4b2
Change default filetree to nerdtree (#4464) 2021-09-12 23:06:37 +08:00
Wang Shidong
2bad103358
Fix job api (#4463)
close https://github.com/SpaceVim/SpaceVim/issues/4458
close https://gitee.com/spacevim/SpaceVim/issues/I48Z0S
2021-09-11 13:56:55 +08:00
Wang Shidong
05e45fc053
Improve ui layer (#4455) 2021-09-08 10:35:38 +08:00
Wang Shidong
458b972974
Fix g d in lang#typescript layer (#4454)
close #4445
2021-09-04 11:57:21 +08:00
Wang Shidong
943d34a1d2
Add option for emmet (#4451)
* Add options for setting emmet filetype

close https://github.com/SpaceVim/SpaceVim/issues/4247

* Update

* Update
2021-09-01 21:16:13 +08:00
Wang Shidong
dc93c46f6d
Update issue template (#4446) 2021-08-29 16:37:19 +08:00
Wang Shidong
b80606aec5
Add SPC j c key binding (#4443) 2021-08-29 00:05:11 +08:00
Wang Shidong
46869748f5
Use splitjoin to open line (#4442) 2021-08-28 22:25:37 +08:00