Commit Graph

1514 Commits

Author SHA1 Message Date
skeept
c4ee72f2d9
don't rely on NR for checking that NrrRgn is loaded
This fixes issue when using Plug to conditionally loading NrrRgn:

Plug 'chrisbra/NrrwRgn', {'on': ['NR', 'NW', 'NRV', 'NW', 'NarrowRegion']}

The command will exist but the plugin has not been loaded yet which gives a warning message.
2020-07-09 11:16:23 -05:00
Christian Brabandt
768bd0f5c6
Merge pull request #2158 from larrybradley/fix-venv
Fix handling of virtualenv and poetv plugins
2020-07-09 08:42:32 +02:00
Rick Jones
46c35b80a1 Make appending airline_right_alt_sep conditional on it not being empty (wordcount)
Was appending a redundant space when airline_right_alt_sep was empty.
2020-07-08 23:46:00 +01:00
Rick Jones
ee4afdeedb Dynamically resize section Z
Resolves: #2168
2020-07-08 23:46:00 +01:00
Christian Brabandt
0a0d61af6c
fzf: do not check for loaded fzf
closes #2163
2020-07-08 08:47:59 +02:00
nickspoons
fab4a02838 Add OmniSharp extension to display server status 2020-07-08 16:32:07 +12:00
Christian Brabandt
ba9b3e1839
Merge pull request #2161 from kazukazuinaina/add_support_searchcount
[RFC] Add support for searchcount extension
2020-06-29 09:25:56 +02:00
wzy
b96e02c649
Fix bug of keyboard_layout
when `keyboard_layout==''`, `let keyboard_layout = split(keyboard_layout, '\.')[-1]` will return an error.
2020-06-29 13:44:13 +08:00
kazukazuinaina
2d9e88794d delete redrawstatus
This is unnecessary. Removing it will still work properly and improve performance.
2020-06-28 06:37:29 +09:00
kazukazuinaina
2c45d3c1aa [add] support fot searchcount extension 2020-06-28 05:57:55 +09:00
IK
d0aaa061c2
Merge pull request #2157 from kazukazuinaina/add_terminalMode_color_palette
[add] terminal mode's color palette
2020-06-26 17:55:02 +09:00
kazukazuinaina
476bba726c [add] terminal mode's color palette
Neovim returns a has('terminal') of 0.
Therefore, this conditional branch is not needed.
2020-06-25 00:33:27 +09:00
Christian Brabandt
bc8fdfe946
terminal: correctly shorten terminal tabline
If there is a single terminal window in  the current tabpage, the whole
long command will be displayed in the tabline, even when it should be
shortened by default.

By default the title will not be shown if there are several windows in
the current tabpage, but if there is only one single terminal window, it
will still be shown (and might be a bit long). But I guess, it is better
to just show a possible too long terminal window name, than not show
anything).

fixes #2126
2020-06-21 22:31:43 +02:00
Larry Bradley
e352adda69 Fix handling of virtualenv and poetv plugins 2020-06-19 11:07:06 -04:00
Christian Brabandt
5ce3e63658
Merge pull request #2146 from noisysocks/master
Support fzf and fzf.vim
2020-06-19 11:45:34 +02:00
kazukazuinaina
cc6d3a7df1 [update] wordcount's formatter's license year 2020-06-19 03:28:21 +09:00
Robert Anderson
88894aa0ad Support fzf and fzf.vim
Adds a slightly nicer statusline for the terminal buffers created by the
fzf and fzf.vim plugins.

https://github.com/junegunn/fzf
https://github.com/junegunn/fzf.vim
2020-06-13 10:31:29 +10:00
kazukazuinaina
fab1ee3117 [update] license's year in airline's extension 2020-06-11 05:26:04 +09:00
PratikBhusal
de76234a0e vim-dirvish: Fixed bugs and added better include guards
Fixes issue #2142.

These changes primarily focused on making the include guards more robust
and simplify how the path for w:airline_section_c was generated.
Credits goes to @kazukazuinaina for improving on my original
implementation.
2020-05-30 00:25:56 -05:00
Christian Brabandt
0de31196b6
Merge pull request #2139 from PratikBhusal/master
Add vim-dirvish support
2020-05-29 23:12:46 +02:00
kazukazuinaina
b929452f32 [add] unite and denite's config
[add] document
2020-05-29 18:20:01 +09:00
PratikBhusal
e0838c704a Added vim-dirvish support
Matched VCS format of Netrw to only show branch name.
Filetype hidden as it is a duplicate on the left side.
File encoding hidden as it does not matter in dirvish buffer.
Removed unnecessary current column information
2020-05-25 19:34:52 -05:00
kazukazuinaina
a133605d01 [refactor] vimagit's extension 2020-05-21 15:19:25 +09:00
kazukazuinaina
68024ec33d fix missing endif 2020-05-21 01:26:33 +09:00
Christian Brabandt
aa46603214
Merge pull request #2128 from jolan78/master
fix for #2127
2020-05-04 14:19:44 +02:00
kazukazuinaina
1f1a71ae2b abopt get() function 2020-05-04 17:53:13 +09:00
jolan78
3b46a4d9a3
fix for #2127 2020-05-04 10:07:39 +02:00
Christian Brabandt
96d37d2fbe
hunks: fix missing line continue character 2020-04-29 17:17:58 +02:00
Christian Brabandt
48064e24d5
hunks: only enable coc-git extension, if explicitly enabled by the user
As requested by the coc maintainer, this is explicitly disabled, unless
the user configures vim-airline to use it for the branch extension. This
is done, because the `CocAction('extensionStats')` function is known to
be slow and this may cause a slow startup.
2020-04-29 16:59:37 +02:00
kazukazuinaina
ad3132da33 [add] vaffle's path section 2020-04-29 21:37:36 +09:00
Christian Brabandt
f00a9e6e7a
Merge pull request #2119 from kazukazuinaina/update_coc_status_width
[adjust] coc_status's width
2020-04-20 07:57:16 +02:00
Christian Brabandt
76c1998753
extensions: prevent error about unknown function for ycm
if g:loaded_youcompleteme does not exists, the ycm extension will not be
loaded. However extensions.vim could still try to init the ycm
extension, which would lead to an error message:

  E117: unknown function airline#extensions#ycm#init

so make sure, it is only loaded, if ycm is loaded as well.
2020-04-20 07:54:00 +02:00
kazukazuinaina
379e0f5bc2 [adjust] coc_status's width 2020-04-18 17:48:26 +09:00
Christian Brabandt
c8fe296c52
Merge pull request #2117 from kazukazuinaina/update_ycm_extension
[add] ycm's toggle and doc
2020-04-17 09:40:05 +02:00
kazukazuinaina
15a1a3ccc7 [add] ycm's toggle and doc 2020-04-15 12:08:09 +09:00
kazukazuinaina
37273299f7 [add] cursormode's toggle 2020-04-15 11:45:45 +09:00
Christian Brabandt
7c31850381
wordcount: only test against complete filetypes
Put a word-boundary regex atom before and after the current filetype, to
make sure that a `C` filetype won't be detected as a filetype that
enables the wordcount extension. (`c` matches asciidoc).
2020-04-14 19:53:18 +02:00
troydm
487d21e7ff
zoomwintab extension vint fix 2020-04-07 21:50:23 +03:00
troydm
5902a23e78
zoomwintab extension added 2020-04-07 21:33:28 +03:00
Christian Brabandt
adf2afae7c
hunks: still some problems with coc-git integration
Fix remaining problems, test correctly for enabled coc-git plugin.
2020-04-01 10:49:00 +02:00
Christian Brabandt
29eec37c66
tabline: fix typo
related: #2103
2020-03-30 08:27:20 +02:00
Christian Brabandt
74ca43a9b6
[hunks] also cache coc git status 2020-03-29 19:37:44 +02:00
Christian Brabandt
5a490dd9ac
hunks: remove test for empty branch for changes plugin
Because changes plugin does not rely on git
Also remove the test of the local variable for the changes plugin
whether it is enabled or not, this is taken care of in the changes
plugin
2020-03-29 19:37:44 +02:00
kazukazuinaina
185bcc5e88 [add] new option / always show tab count feature 2020-03-30 01:06:06 +09:00
Christian Brabandt
c05fff8504
hunks: add abort keyword to function definitions 2020-03-29 17:30:29 +02:00
Christian Brabandt
a13bed2f51
hunks: integrate coc-git extension
The coc-git extension to coc does show similar statistics as e.g.
gitgutter, therefore, integrate the coc-git interface into the hunk
extension.

closes #2094
2020-03-29 17:30:29 +02:00
Christian Brabandt
2f2003be52
Merge pull request #2098 from kazukazuinaina/add_check_vista_toggle
[add] check vista's toggle
2020-03-29 16:04:35 +02:00
Christian Brabandt
8a7172e1c2
Merge pull request #2099 from kazukazuinaina/fix_denite_extension
[fix] operator and [add] abort in autoload function
2020-03-29 16:04:08 +02:00
Christian Brabandt
99c2dfd569
coc: use bold accent for g:coc_status
fixes #2101
2020-03-29 16:03:00 +02:00
kazukazuinaina
f8a3afa4a1 [fix] operator and [add] abort in autoload function 2020-03-29 00:45:32 +09:00