1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
Commit Graph

2922 Commits

Author SHA1 Message Date
代君
072f7245a9
fix(lang#python): fix g d key binding 2021-12-05 10:23:50 +08:00
Shidong Wang
db8ea76c7a
docs(lang#vala): correct language name in doc 2021-11-21 20:53:56 +08:00
Shidong Wang
ce7652a7ac
feat(lang#vala): add lang#vala layer
close https://github.com/SpaceVim/SpaceVim/issues/4525
2021-11-21 20:48:53 +08:00
Steve Huff
5f37a4014f
fix(core): Handle E319 when Vim was built without language support
E319 means that Vim was built without the feature that supports a given
command (http://vimdoc.sourceforge.net/htmldoc/message.html#E319); if
Vim is built without language support, SpaceVim cannot successfully
load.  this change enables SpaceVim to recover from this error message
and continue loading.

see https://github.com/qvacua/vimr/issues/879 for an example of the
problem that this solves.
2021-11-16 01:07:20 +08:00
Shidong Wang
5c63ce1fec
fix(logger): add SpaceVim#logger#debug function 2021-11-15 22:21:14 +08:00
Shidong Wang
0eb3ee0f90
fix(logger): fix logger debug levels 2021-11-15 22:13:11 +08:00
Shidong Wang
aa95f233a2
feat(logger): add clock info 2021-11-15 21:51:57 +08:00
Shidong Wang
c8c232f4a1
feat(mapping): add help description for SPC f s 2021-11-13 15:39:09 +08:00
Shidong Wang
a84aa78836
style(core): format vim script dictionary 2021-11-13 15:32:08 +08:00
Shidong Wang
0e9127e4dc
feat(lang#toml): add SPC l j to preview toml 2021-11-13 14:16:21 +08:00
Shidong Wang
fcb9f0785a
feat(windisk): add windisk_encoding option 2021-11-12 10:36:47 +08:00
Shidong Wang
76428f5d28
fix(logger): fix logger api 2021-11-05 19:10:16 +08:00
Shidong Wang
3523dd1037
fix(lang#markdown): remove g:mkdp_browserfunc
close https://github.com/SpaceVim/SpaceVim/issues/4500
2021-11-04 20:58:46 +08:00
Shidong Wang
5cd0cb78b0
fix(logger): fix logger debug function 2021-11-04 14:54:06 +08:00
Shidong Wang
290dc34d73
refactor(custom): format custom.vim && update :h SpaceVim-functions 2021-11-04 14:37:30 +08:00
Shidong Wang
e6626bdd37
docs(api): update :h SpaceVim-api-vim-message 2021-11-03 21:31:08 +08:00
Shidong Wang
d4597c97d0
pref(a.vim): change logger level 2021-10-29 21:00:37 +08:00
Shidong Wang
be7d6130d6
feat(logger): add syntax highlighting for runtime log 2021-10-29 20:52:14 +08:00
Shidong Wang
4a2e19fa6a
fix(windisk): fix s:open_disk function 2021-10-29 00:59:53 +08:00
Shidong Wang
1ff40354b3
feat(help): add help description for SPC b d 2021-10-29 00:47:12 +08:00
Shidong Wang
93d8a15363
feat(ssh): change ssh tab name to SSH(user@ip:port) 2021-10-28 17:21:38 +08:00
Shidong Wang
229f66f56c
refactor(guide): add s:get_key_number function 2021-10-28 16:52:42 +08:00
Shidong Wang
0a89a58d51
pref(guide): format g prefix key binding guide 2021-10-28 16:38:42 +08:00
Shidong Wang
cd2fee0a0e
docs(usage): add :h SpaceVim-usage-search-and-replace 2021-10-28 13:46:17 +08:00
danchev
5d9a09751d
fix(lang#python): fix typo in coverage key bindings 2021-10-27 12:45:37 +08:00
Shidong Wang
c9411f07f2
pref(chat): improve chat layer 2021-10-27 00:50:09 +08:00
Shidong Wang
7797732b37
fix(chat): fix chatting server port 2021-10-24 21:33:03 +08:00
Shidong Wang
7916f8067a
pref(chat): improve chat layer 2021-10-24 21:07:19 +08:00
Shidong Wang
fde8b71b41
refactor(chat)!: change chat windows key binding
BREAKING CHANGE: change `SPC a o` to `SPC a h`
2021-10-24 16:51:10 +08:00
Shidong Wang
cd033dd3cc
docs(chat): add :h SpaceVim-layers-chat 2021-10-24 16:45:26 +08:00
Shidong Wang
b64b80a2bb
refactor(chat): use bundle vim-chat plugin 2021-10-24 16:25:43 +08:00
Wang Shidong
6adb53df7b
feat(mail): improve vim-mail plugin 2021-10-24 11:56:24 +08:00
Shidong Wang
5ec1b3beb5
feat(mail): add login & password option 2021-10-23 15:59:22 +08:00
Shidong Wang
31ab74f8be
feat(mail): add mail layer option 2021-10-23 15:51:36 +08:00
Shidong Wang
fa43ef2043
feat(mail): use bundle vim-mail 2021-10-23 15:34:04 +08:00
Shidong Wang
b74dd23e4d
docs(ctrlp): add :h SpaceVim-layers-ctrlp 2021-10-23 15:09:41 +08:00
Shidong Wang
abbc14e100
docs(format): update :h SpaceVim-layers-format 2021-10-23 15:03:05 +08:00
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