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

3205 Commits

Author SHA1 Message Date
wsdjeg
2b3e7314e4 pref(statusline): add extra space before qf title 2022-04-22 13:03:58 +08:00
wsdjeg
c486cc1575 fix(lsp): use path_to_fname 2022-04-22 12:56:35 +08:00
Alessio Linares
0a1af5b6bf
feat(lsp): support #{cwd} for the current working directory
* In lsp config replace #{cwd} for the current working directory.

* Fix bug introduced by renaming a variable

Co-authored-by: Alessio Linares <alessio.linares@king.com>
2022-04-22 12:14:16 +08:00
wsdjeg
8f1f93350e fix(shell): fix default cwd of terminal
close https://github.com/SpaceVim/SpaceVim/issues/4644
2022-04-21 23:41:00 +08:00
wsdjeg
d42fb9bda6 fix(mapping): fix smartclose function for vim 2022-04-21 22:52:05 +08:00
wsdjeg
0b4d10639d fix(vim#buffer): fix create_buf function
create_buf do not load buffer automatically.
load the buffer as far as possible
2022-04-21 21:03:05 +08:00
wsdjeg
1670480e3b fix(scrollbar): check each_line 2022-04-21 18:59:53 +08:00
wsdjeg
1029925b56 fix(scrollbar): fix scrollbar position 2022-04-21 18:39:12 +08:00
wsdjeg
a98061caad fix(scrollbar): fix position of scrollbar 2022-04-21 13:14:45 +08:00
wsdjeg
0b3f505e4d pref(statusline): remove extra space 2022-04-21 11:59:00 +08:00
wsdjeg
86d8ddefec fix(branch): fix statusline branch info 2022-04-21 10:50:20 +08:00
wsdjeg
d27ca33a9c feat(option): add bootstrap_script option 2022-04-21 00:49:10 +08:00
wsdjeg
22939866c0 fix(treesitter): add loadable function 2022-04-21 00:20:42 +08:00
wsdjeg
2b4b4ec93b fix(vim): fix index out of range error 2022-04-21 00:18:09 +08:00
wsdjeg
a36eb377db fix(scrollbar): fix scrollbar on SPC number key binding
Problem:If win_count < number, SPC number will close scrollbar
Solution: use vim#window.win_count api instead of winnr('$')
2022-04-20 22:58:34 +08:00
wsdjeg
8937bc7cbe fix(core): typo in parser_argv function 2022-04-20 22:20:25 +08:00
wsdjeg
c8035f713f fix(core): fix parser_argv function
close https://github.com/SpaceVim/SpaceVim/issues/4640
2022-04-20 22:16:18 +08:00
wsdjeg
e9b5a524a6 pref(scrollbar): set eventignore=all when update scrollbar 2022-04-19 23:01:33 +08:00
wsdjeg
2c29bd6462 fix(scrollbar): fix noautocmd bd
close https://github.com/SpaceVim/SpaceVim/issues/4642
2022-04-19 22:52:35 +08:00
Wang Shidong
fcc564ae25
feat(scrollbar): add scrollbar support for vim 2022-04-19 19:42:01 +08:00
wsdjeg
30d8b3dcb1 fix(scrollbar): fix scrollbar on WIN o key binding 2022-04-18 22:32:28 +08:00
wsdjeg
5d372564d5 feat(api): add message.nvim_echo api 2022-04-17 22:56:52 +08:00
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