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

3183 Commits

Author SHA1 Message Date
wsdjeg
8ba0fda717 fix(tab): fix event checking 2022-04-16 23:47:24 +08:00
wsdjeg
a4084690f5 fix(scrollbar): add WinScrolled event if supported 2022-04-16 23:44:04 +08:00
wsdjeg
b6218e0d4a feat(scrollbar): update scrollbar on CursorHold autocmd 2022-04-16 21:09:33 +08:00
wsdjeg
0ff0c941dc fix(projectmanager): add project_non_root option 2022-04-16 20:41:01 +08:00
wsdjeg
53b493372d fix(rooter): clear b:rootDir for none project 2022-04-16 20:13:05 +08:00
wsdjeg
fce3fdd2ba feat(statusline): support global statusline 2022-04-16 09:03:59 +08:00
wsdjeg
a6e14e1cfb fix(git): fix git branch info 2022-04-15 23:56:31 +08:00
wsdjeg
d5f7ef3332 refactor(file): refactor the file api 2022-04-15 23:23:46 +08:00
wsdjeg
1611aecc49 feat(verilog): add lang#verilog layer 2022-04-15 20:36:45 +08:00
wsdjeg
ca88eed294 refactor(api): remove SpaceVim#util#globpath function
use `vim#compatible` api
2022-04-15 17:13:41 +08:00
wsdjeg
7f42c793dc docs(searcher): add doc about SPC s j 2022-04-14 23:21:58 +08:00
wsdjeg
99078b7706 docs(tasks): update :h SpaceVim-usage-tasks 2022-04-14 21:49:07 +08:00
wsdjeg
de88eb3fd8 docs(tabmanager): add :h SpaceVim-plugins-tabmanager 2022-04-14 19:26:47 +08:00
wsdjeg
109a5b2490 fix(statusline): backward compatibility 2022-04-14 17:33:50 +08:00
wsdjeg
b244af6e08 pref(options)!: rename statusline options
change spacevim_statusline_left_sections = spacevim_statusline_left
change spacevim_statusline_right_sections = spacevim_statusline_right

BREAKING CHANGE: rename the statusline sections option
2022-04-14 17:27:22 +08:00
wsdjeg
43f9e530f1 feat(netrw): add option to enable/disable netrw
close https://github.com/SpaceVim/SpaceVim/issues/4516
2022-04-14 16:53:07 +08:00
wsdjeg
3678bf51f6 pref(terminal): improve terminal support 2022-04-14 16:22:27 +08:00
wsdjeg
d5cf952778 chore(treesitter): use bundle treesitter 2022-04-14 12:01:23 +08:00
wsdjeg
4d04e3ff96 fix(startup): fix parser_argv function
close https://github.com/SpaceVim/SpaceVim/issues/4610
2022-04-14 00:33:16 +08:00
wsdjeg
9737ef4218 fix(scrollbar): disable scrollbar in leaderf buffer 2022-04-13 23:40:47 +08:00
wsdjeg
e32ec1f886 fix(lang#php)!: change g D key binding
BREAKING CHANGE: use `g D` to jump to declaration
2022-04-13 19:19:48 +08:00
wsdjeg
bdbbaa4a73 chore(lsp): add log for lsp client 2022-04-13 18:00:47 +08:00
wsdjeg
dc01a27d4a docs(php): update doc of lang#php layer 2022-04-13 17:46:41 +08:00
wsdjeg
918623d31f fix(runner): fix code runner
close https://github.com/SpaceVim/SpaceVim/issues/4625
2022-04-13 17:12:01 +08:00
wsdjeg
0700fc2622 docs(complete): update doc of autocomplete_method 2022-04-13 13:24:05 +08:00
wsdjeg
52ad8ca22a feat(snippet): add bundle cmp-neosnippet 2022-04-13 11:16:04 +08:00
wsdjeg
f9755af4c5 feat(defx): add bundle defx-sftp
ref: https://github.com/SpaceVim/SpaceVim/issues/4516
2022-04-13 09:48:14 +08:00
wsdjeg
5ccbb5c6a2 fix(lsp): fix neovim lsp compatibility
close https://github.com/SpaceVim/SpaceVim/issues/4574
2022-04-13 00:04:33 +08:00
wsdjeg
43674200ef feat(mapping): make SPC b d skip startify and defx buffer 2022-04-12 23:45:23 +08:00
wsdjeg
54f5bfc186 fix(mapping): fix SPC b d
getchar() do not handle ctrl-c, use getchar() function in
`vim` API
2022-04-12 23:09:45 +08:00
wsdjeg
d4bb45b28d fix(lang#c): fix g d key binding
close https://github.com/SpaceVim/SpaceVim/issues/4544
2022-04-12 22:14:46 +08:00
wsdjeg
6b357c7cde fix(iedit): fix iedit matching pattern
close https://github.com/SpaceVim/SpaceVim/issues/4618
2022-04-12 21:43:01 +08:00
wsdjeg
2c385518c0 docs(alternate): add :h SpaceVim-usage-alternate-file 2022-04-12 14:45:23 +08:00
wsdjeg
6b354194c3 feat(health): check layer health 2022-04-12 14:27:41 +08:00
wsdjeg
bd505c2ac3 fix(ctrlg): hide sep if project_name is empty 2022-04-11 23:11:21 +08:00
wsdjeg
ca969ce065 feat(ctrlg): add ctrl-g key binding to display project info 2022-04-11 23:00:31 +08:00
wsdjeg
4066e71ffa fix(LeaderGuide): fix command definition 2022-04-11 22:03:48 +08:00
wsdjeg
d90a3e1d3f docs(python2): add @bug todo info about python2 2022-04-11 18:36:44 +08:00
wsdjeg
0048c199fe docs(python2): add doc about github-issues.vim 2022-04-11 18:00:31 +08:00
wsdjeg
86077076e2 fix(tools): check python3 first 2022-04-11 17:55:33 +08:00
wsdjeg
97ebba23e6 feat(golang): improve lang#go layer
- add `go_file_head` option
- add `go_interpreter` option
- add `format_on_save` option

close https://github.com/SpaceVim/SpaceVim/issues/4486
2022-04-11 17:22:21 +08:00
wsdjeg
040cb825c3 fix(notify): set notify_max_width based on current &columns 2022-04-11 13:15:22 +08:00
wsdjeg
3e9b813034 fix(gtags): clear autocmd when check health 2022-04-11 09:56:52 +08:00
wsdjeg
b565b3d6fb fix(notify): fix E488 Trailing characters 2022-04-11 00:33:37 +08:00
wsdjeg
4811d57907 fix(transient_state): fix transient_state api
close https://github.com/SpaceVim/SpaceVim/issues/4634
2022-04-11 00:27:05 +08:00
wsdjeg
da4547349e fix(notify): check function exists
close https://github.com/SpaceVim/SpaceVim/issues/4362
2022-04-10 22:53:01 +08:00
wsdjeg
7c627cf732 fix(notify): use nvim_win_set_option instead 2022-04-10 22:52:02 +08:00
wsdjeg
71dd46e450 feat(notify): add winblend option 2022-04-10 22:45:01 +08:00
wsdjeg
813ad6c950 feat(todomanager): add todo_prefix option
close https://github.com/SpaceVim/SpaceVim/issues/3819
2022-04-10 21:37:27 +08:00
wsdjeg
72814fb13f feat(bookmarks): add leaderf support for vim-bookmarks 2022-04-10 16:40:31 +08:00
wsdjeg
88eb4db751 fix(E5601): close all notify windows on QuitPre
If the current windows is the last one, always get
E5601: Cannot close window, only floating window would remain
2022-04-10 14:49:58 +08:00
wsdjeg
8546135816 fix(core): fix get_options function
return enable_filetree_filetypeicon
2022-04-10 13:35:40 +08:00
wsdjeg
fbada78342 fix(api): fix transient_state api 2022-04-09 16:47:15 +08:00
wsdjeg
9047ac81b5 fix(highlight): use v:argv instead of mode()
`mode()` return `n` even if start nvim with `-Ex` argv
2022-04-09 16:40:12 +08:00
wsdjeg
16823818f6 fix(Ex mode): fix highlight plugin for Ex mode
In Ex mode `line('w$')` return 0, so we should not use Display
range for Ex mode.

neovim issues and pull requests:

- https://github.com/neovim/neovim/issues/18050
- https://github.com/neovim/neovim/pull/14311
- https://github.com/neovim/neovim/pull/17986
- https://github.com/neovim/neovim/pull/17977

close https://github.com/SpaceVim/SpaceVim/issues/4629
2022-04-09 16:17:12 +08:00
wsdjeg
22a286214a fix(guicursor): fix guicursor color
neovim do not change guicursor, need `:normal! :`
2022-04-09 08:44:18 +08:00
wsdjeg
5ff761b966 feat(iedit): hide cursor in iedit mode 2022-04-09 08:43:08 +08:00
wsdjeg
e7344bab8b fix(iedit): remove deepcopy 2022-04-08 18:05:17 +08:00
wsdjeg
8b0626e63f fix(highlight): update highlight after toggle_item 2022-04-08 17:33:45 +08:00
wsdjeg
c8867113c3 refactor(format): format dictionary 2022-04-08 17:31:46 +08:00
wsdjeg
d799b3d49d fix(highlight): fix Tab key binding 2022-04-08 14:28:36 +08:00
wsdjeg
2452a1e86a fix(vim): fix vim supporting
close https://github.com/SpaceVim/SpaceVim/issues/4628
2022-04-08 12:55:28 +08:00
Wang Shidong
17ff71f45c
feat(python): add virtualenv support
close https://github.com/SpaceVim/SpaceVim/issues/4269
2022-04-08 00:53:52 +08:00
wsdjeg
d061ce7f46 fix(util): fix SPC f Y key binding 2022-04-08 00:02:46 +08:00
wsdjeg
be502f95d4 fix(flygrep): fix ctrl-c key binding in flygrep 2022-04-07 23:25:18 +08:00
wsdjeg
075198932a fix(flygrep): fix <ScrollWheelDown> and <ScrollWheelUp> 2022-04-07 21:26:11 +08:00
wsdjeg
8fbad84add chore(bundle): use bundle java plugins 2022-04-07 18:57:53 +08:00
wsdjeg
d37f00be2f pref(runner): remove \r at the end of line 2022-04-07 17:40:01 +08:00
wsdjeg
edeee6f89b chore(bundle): use bundle JavaUnit.vim 2022-04-07 15:44:37 +08:00
wsdjeg
ab64e20617 feat(tabline): add ctrl-shift-left/right key binding
ref: https://github.com/SpaceVim/SpaceVim/issues/1917
2022-04-07 13:17:22 +08:00
wsdjeg
ca58d3111b docs(option): add :h SpaceVim-options-commandline_prompt 2022-04-06 23:48:01 +08:00
wsdjeg
24a871ff99 fix(guide.vim): handle ctrl-c when using getchar()
getchar() do not handle ctrl-c, catch /^Vim:Interrupt$/ error
2022-04-06 13:58:48 +08:00
wsdjeg
f31f1bfc97 fix(runner): fix async_run function
close https://github.com/SpaceVim/SpaceVim/issues/4625
2022-04-06 10:59:34 +08:00
wsdjeg
80d909ca49 docs(wildignore): add :h SpaceVim-options-wildignore 2022-04-06 00:38:39 +08:00
wsdjeg
3f99d0c297 docs(todomanager): add :h SpaceVim-plugins-todomanager 2022-04-05 20:17:35 +08:00
wsdjeg
dae85aaf34 feat(guicursor): enable cursor color 2022-04-05 20:02:08 +08:00
wsdjeg
07f8b5bba5 feat(gtags): add ctags_bin option 2022-04-05 15:25:20 +08:00
wsdjeg
2288bf7db2 fix(iedit): handle empty cursor_stack 2022-04-04 23:05:42 +08:00
wsdjeg
e1338de477 fix(prompt): fix prompt api version checking 2022-04-04 21:46:30 +08:00
wsdjeg
a1ec2b9bac feat(flygrep): hide guicursor 2022-04-04 21:37:51 +08:00
wsdjeg
9042571586 fix(vimdoc): fix vimdoc generation 2022-04-04 19:54:00 +08:00
wsdjeg
007cbd6684 fix(notify): fix win_is_open function 2022-04-04 19:46:41 +08:00
wsdjeg
d387021598 fix(notify): check win_is_open before close notify 2022-04-04 19:17:31 +08:00
wsdjeg
26fb76fe26 fix(notify): use noautocmd to avoid changing statusline 2022-04-04 19:10:06 +08:00
wsdjeg
bc04a4d342 docs(runner): add :h SpaceVim-plugins-runner 2022-04-04 17:55:19 +08:00
wsdjeg
e7ca75a850 fix(runner): check executable before run command 2022-04-04 17:43:26 +08:00
wsdjeg
87a9918020 feat(layer): add lang#octave layer 2022-04-04 16:12:43 +08:00
wsdjeg
7826af72ea feat(layer): add lang#jr layer 2022-04-04 15:55:01 +08:00
wsdjeg
2506fec3a0 feat(mapping): add SPC f R to rename current file 2022-04-04 14:35:55 +08:00
wsdjeg
a7a89ef088 fix(key): fix SPC T F key binding 2022-04-03 22:12:11 +08:00
wsdjeg
c406cec1fd fix(health): fix environment checking 2022-04-02 14:25:23 +08:00
wsdjeg
96b24fcd54 style(z): format key binding guide for z 2022-04-02 14:03:48 +08:00
wsdjeg
5fcb1da81f revert(highlight.vim): revert E725 2022-04-02 12:02:50 +08:00
wsdjeg
a488f92a9b fix(E725): fix vim error E725 2022-04-02 11:52:41 +08:00
wsdjeg
30137f4c64 fix(iedit): fix cursor_stack index checking 2022-04-02 11:10:18 +08:00
wsdjeg
9279c7ca71 fix(highlight.vim): fix highlight plugin 2022-04-02 10:57:19 +08:00
wsdjeg
7dd20aeb14 fix(statusline): fix normal mode statusline 2022-04-02 10:48:23 +08:00
wsdjeg
cc8c2e2bf1 fix(iedit): fix Ctrl-p key binding of iedit 2022-04-01 23:39:07 +08:00
Wang Shidong
51c9556d7b
feat(iedit): improve iedit mode (#4615)
The new feature of iedit:
- start:  `SPC s E` start iedit with only current match
  - next:  `<C-n>` add a new virtual cursor + selection on the next match
  - skip:  `<C-x>`  skip the next match
  - prev:  `<C-p>` remove current virtual cursor + selection and go back on previous match
- select all:  `SPC s e` start iedit with all matches
2022-04-01 23:28:30 +08:00
wsdjeg
bf67dbbb15 docs(cscope): update :h SpaceVim-layers-cscope 2022-03-31 16:02:29 +08:00
wsdjeg
2f68beeacb fix(lsp): disable jedi when pyright enabled 2022-03-31 13:19:01 +08:00
wsdjeg
25ce872314 fix(util): fix if_expand_tab function 2022-03-31 12:58:54 +08:00
wsdjeg
14a691a8aa refactor(python): move python autocmd to lang#python layer 2022-03-31 12:33:43 +08:00
wsdjeg
bed725bead refactor(lang#vim): move viml autocmd to lang#vim layer 2022-03-31 12:31:14 +08:00
wsdjeg
d995c06367 fix(indentline): disable indentline for defx buffer 2022-03-31 12:29:39 +08:00
wsdjeg
b519ea398c fix(php): fix php gd key binding
close https://github.com/SpaceVim/SpaceVim/issues/4585
2022-03-31 00:24:22 +08:00
wsdjeg
54c5e8eb60 fix(fillchars): fix fillchars option 2022-03-30 23:56:05 +08:00
wsdjeg
45a18b4f80 fix(indentline): fix indentline setting
close https://github.com/SpaceVim/SpaceVim/issues/4600
2022-03-30 23:53:24 +08:00
wsdjeg
662480aabf feat(mkdir): make automkdir plugin support :w foo/test.vim 2022-03-30 16:58:30 +08:00
wsdjeg
8e7ffefc11 feat(api): improve SpaceVim#api#register function 2022-03-29 22:08:13 +08:00
Palash Bauri
f454a0ac51
fix(lisp): fix vlime support
close  #4485
2022-03-29 21:10:21 +08:00
wsdjeg
95e1f0e199 refactor(vim#highlight): add is_string() function 2022-03-28 12:03:17 +08:00
wsdjeg
49baf80ed3 docs(test): update doc for test layer 2022-03-27 15:36:34 +08:00
wsdjeg
33cc57af55 chore(copyright): update email 2022-03-27 13:38:54 +08:00
wsdjeg
e64b332805 docs(cmdlinemenu): add usage example 2022-03-23 22:38:24 +08:00
wsdjeg
5e21836e18 fix(iedit): fix iedit statusline 2022-03-23 22:06:29 +08:00
wsdjeg
3095dc7f96 refactor(debug): add debug log for iedit 2022-03-23 21:30:15 +08:00
wsdjeg
c63e9bf303 fix(iedit): skip empty character when start iedit
if the cursor in on empty character, iedit should be skipped
2022-03-23 21:25:08 +08:00
wsdjeg
c8cc8c0332 feat(iedit): add b key binding for iedit 2022-03-23 19:41:06 +08:00
wsdjeg
c542da7606 feat(iedit): add w key binding for iedit-normal mode 2022-03-23 19:32:15 +08:00
wsdjeg
daf80925ed fix(iedit): fix e key binding in iedit mode 2022-03-23 19:20:27 +08:00
wsdjeg
b8a562f702 feat(iedit): add e key binding in iedit-normal mode 2022-03-23 19:12:59 +08:00
wsdjeg
ccb6f0de20 docs(iedit): add :h SpaceVim-plugins-iedit 2022-03-23 18:57:21 +08:00
wsdjeg
8677c8a830 feat(mapping): add SPC b o to kill all buffers and windows 2022-03-23 14:10:09 +08:00
wsdjeg
3e4b0965df docs(api): add :h SpaceVim-api-clock 2022-03-23 13:15:56 +08:00
wsdjeg
92ce9fbb55 docs(WebAssembly): add :h SpaceVim-layers-lang-WebAssembly 2022-03-22 21:09:32 +08:00
wsdjeg
a4d20477dd docs(wdl): add :h SpaceVim-layers-lang-wdl 2022-03-22 21:06:03 +08:00
wsdjeg
db7dee960f feat(checkers): add lint_exclude_filetype option
close https://github.com/SpaceVim/SpaceVim/issues/4553
2022-03-22 19:17:40 +08:00
wsdjeg
3dccacb0d8 fix(ui): fix indentline_exclude_filetype option 2022-03-22 19:11:29 +08:00
wsdjeg
01f5df790e fix(flygrep): fix delete text command 2022-03-22 15:12:50 +08:00
wsdjeg
5d21105559 docs(iedit): update doc for iedit function 2022-03-22 14:49:01 +08:00
wsdjeg
538fbac440 chore(bundle): use bundle vim-lookup 2022-03-22 14:33:27 +08:00
wsdjeg
592e0ec9ef feat(git): add git_diff_position option
close https://github.com/SpaceVim/SpaceVim/issues/3360
2022-03-22 12:24:19 +08:00
wsdjeg
ab631a2513 fix(tasks.vim): fix Variable type mismatch
fix Vim(let):E706: Variable type mismatch for: s:task_config
2022-03-22 11:52:58 +08:00
wsdjeg
0f336f386e fix(highlight.vim): fix list index out of range 2022-03-22 11:42:13 +08:00
wsdjeg
fe14a5f999 fix(test): fix org layer test 2022-03-21 23:27:33 +08:00
wsdjeg
e37c2523c1 feat(statusline): add &paste mode support
close https://github.com/SpaceVim/SpaceVim/issues/3473
2022-03-21 22:51:09 +08:00
wsdjeg
b683a11f38 fix(lang#markdown): use --force instead
close https://github.com/SpaceVim/SpaceVim/issues/4595
2022-03-21 22:36:23 +08:00
wsdjeg
7bae4893f7 docs(vcs): add :h SpaceVim-layers-VersionControl 2022-03-21 12:34:20 +08:00
wsdjeg
2560c4f50f feat(bundle): use bundle github_dashboard 2022-03-20 18:50:08 +08:00
wsdjeg
0fa70e1757 feat(statusline): clear searching status for no exist pattern 2022-03-20 17:00:28 +08:00
wsdjeg
deb08e43aa fix(statusline): fix syntax_checking function
close https://github.com/SpaceVim/SpaceVim/issues/4606
2022-03-20 16:39:21 +08:00
wsdjeg
4dfcda8146 feat(githubissues): use bundle github-issues & fix python command 2022-03-20 15:59:42 +08:00
wsdjeg
78e2dfcaa6 docs(help): add :h SpaceVim-options-expand_tab 2022-03-20 15:42:03 +08:00
wsdjeg
e9e849b16c feat(statusline): add totallines section
close https://github.com/SpaceVim/SpaceVim/issues/4567
2022-03-20 10:13:18 +08:00
wsdjeg
dd4544434c fix(core): load open-browser by default
close https://github.com/SpaceVim/SpaceVim/issues/4607
2022-03-20 09:44:08 +08:00
wsdjeg
ea9e5c237e fix(edit): add missing command ReverseLines 2022-03-19 23:53:05 +08:00
Kun Lin
c86ad1a6bd
fix(edit): improve the reverse_lines function
Co-authored-by: CNIPA <188513097@qq.com>
Co-authored-by: Wang Shidong <wsdjeg@outlook.com>
2022-03-19 23:51:37 +08:00
Kun Lin
b1a3c0510c
feat(markdown): add a new key binding for RemoveToc 2022-03-19 20:10:56 +08:00
Kun Lin
4b61488f8c
fix(chinese): fix convert Chinese number to digits 2022-03-19 20:08:35 +08:00