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

2850 Commits

Author SHA1 Message Date
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
Wang Shidong
f286e5a83c
Fix typescript eslint maker (#4441)
close #4440
2021-08-28 19:51:05 +08:00
Wang Shidong
ee07874b8b
fix notify api (#4438)
`:only` command break the notify api.
2021-08-27 23:57:06 +08:00
Wang Shidong
4006e9b912
add language mapping test (#4431) 2021-08-27 11:47:11 +08:00
Wang Shidong
d807b9bf8d
Update doc (#4425) 2021-08-27 10:25:02 +08:00
Wang Shidong
12e19d8db0
Tabmanager name (#4427) 2021-08-26 00:22:05 +08:00
Wang Shidong
5c8e9ac781
Improve cscope layer (#4418) 2021-08-22 14:35:22 +08:00
Wang Shidong
8f76047cbd
Fix cache directory (#4414) 2021-08-20 22:57:32 +08:00
Kayle Gishen
d9524d5dbb
fix(flygrep): use current directory when none specified for ripgrep. (#4410) 2021-08-19 13:25:47 +08:00
Wang Shidong
1e4cb1f295
Fix data dir (#4409) 2021-08-18 20:54:54 +08:00
Wang Shidong
b518b77e49
Add lua projectmanager (#4401) 2021-08-17 22:54:06 +08:00
Wang Shidong
7b4ae22d45
Add lua evn (#4400) 2021-08-15 19:35:54 +08:00
Wang Shidong
81e58fdd78
Rewrite plugin a.vim in lua (#4390) 2021-08-15 19:06:48 +08:00
Wang Shidong
5fe3d09bb2
Add lua file api (#4391) 2021-08-14 14:20:03 +08:00
Wang Shidong
66f3306acb
Add lua system api & test (#4392) 2021-08-14 09:30:57 +08:00
Wang Shidong
3b455c1b7f
Add option for disable smooth scrolling & fix css (#4387) 2021-08-12 23:26:05 +08:00
Wang Shidong
061de45b7b
Add smooth scrolling key bindings (#4386) 2021-08-12 10:45:36 +08:00
Wang Shidong
bb7a54808b
Use indent-blankline for neovim (#4325) 2021-08-11 21:29:53 +08:00
Wang Shidong
8dc62173ab
Add option to hilight cursorword (#4385) 2021-08-11 18:51:20 +08:00
Wang Shidong
be155d6ff4
Enable neovim test (#4382) 2021-08-11 13:45:38 +08:00
Jozsef Lazar
48e701e006
fix todo manager with rg 13.0 (#4383) 2021-08-11 01:16:08 +08:00
Wang Shidong
6377357a81
Add codecov (#4380) 2021-08-10 19:59:42 +08:00
Wang Shidong
c151563bc1
Add Git remote command (#4371) 2021-08-08 20:20:21 +08:00
Wang Shidong
db1ed7201d
Fix statusline (#4370)
closs https://github.com/SpaceVim/SpaceVim/issues/4317
2021-08-08 15:04:12 +08:00
Wang Shidong
d23c6e1851
Fix SPC x d SPC key binding (#4369) 2021-08-08 12:53:02 +08:00
Wang Shidong
8cf5519ca5
Fix docker image building (#4367) 2021-08-07 22:35:20 +08:00
Wang Shidong
38955b7d6e
Fix flygrep (#4361) 2021-08-07 14:10:47 +08:00
Wang Shidong
b834a49492
Fix vim support (#4359) 2021-08-06 23:04:36 +08:00
Wang Shidong
eb1d0780a0
Fix notify scratch buffer (#4358) 2021-08-06 21:56:29 +08:00
Wang Shidong
dd46a88bd0
Add doc for notify api (#4357) 2021-08-06 21:07:50 +08:00
Wang Shidong
2d6bfd39a9
Improve notify api (#4355) 2021-08-06 19:19:00 +08:00
Wang Shidong
95e235ab43
add bookmarks (#4346) 2021-08-04 17:05:38 +08:00
Andrew Angelo Ang
e6cb9e9003
Fix coffeescript api sys dependency (#4343)
Co-authored-by: Andrew Angelo Ang <andrew.ang@cybersoftbpo.com>
2021-07-24 08:10:29 +08:00
Jozsef Lazar
46346dd719
update default go-lsp to gopls (#4338) 2021-07-19 20:54:41 +08:00
Benji Stephenson
21398fcfdd
refactor layer: Update deprecated fugitive calls in git layer (#4340) 2021-07-19 20:53:59 +08:00
Shull
3f3a4912df
Fix statusline can't response to custom config (#4328)
Co-authored-by: xushaodong <xushaodong@bytedance.com>
2021-07-06 21:37:24 +08:00