Christian
e59a654d17
tabline: Vim9 script implementation of get()
2020-11-27 10:43:50 +01:00
Christian
18ae588bad
tabline: remove bang attribute in load_theme func definition
2020-11-27 10:43:50 +01:00
Christian
86c466d81e
tabline: fix vim9 error in enable func
2020-11-27 10:43:50 +01:00
Christian
c08b1c0c75
tabline: fix vim9 error in toggle_on func
2020-11-27 10:43:49 +01:00
Christian
3d536ef950
tabline: fix vim9 error in init func
2020-11-27 10:43:49 +01:00
Christian
02aaaf94e8
tabline: Vim9 script implementation of load_theme
2020-11-27 10:43:49 +01:00
Christian
bbc70019f6
tabline: Vim9 script implementation of enable
2020-11-27 10:43:49 +01:00
Christian
0bc7ff3629
tabline: Vim9 script implementation of redraw
2020-11-27 10:43:49 +01:00
Christian
7880f0a73c
tabline: Vim9 script implementation of update_tabline
2020-11-27 10:43:49 +01:00
Christian
5502e5302d
tabline: Vim9 script implementation of toggle_on
2020-11-27 10:43:48 +01:00
Christian
59c906da4d
tabline: Vim9 script implementation of toggle_off
2020-11-27 10:43:48 +01:00
Christian
19f8be42b6
tabline: Vim9 script implementation of #init function
2020-11-27 10:43:48 +01:00
Christian
e81d400b09
tabline: check existence of "e" flag in guioptions
2020-11-27 10:43:48 +01:00
Christian
5062eeeaed
tabline: add foldmarkers and remove some empty lines
2020-11-27 10:43:48 +01:00
Christian
e6bd342293
tabline: prepare for vim9script implementation
2020-11-27 10:43:48 +01:00
Christian
caaa553ce9
tabline: set expandtab and foldmarker to modeline
2020-11-27 10:43:47 +01:00
Christian
b4e38be8b8
highlighter: fix indentation (tabs)
2020-11-27 10:43:47 +01:00
Christian
252b89bb1f
default tabline formmatter: fix indentation
2020-11-27 10:43:47 +01:00
Christian
b271c279d6
default tablineformmter: get rid of s: vars in legacy implementation
2020-11-27 10:43:44 +01:00
Christian
9387517f01
default tablineformatter: implement as vim9 script
2020-11-27 10:42:16 +01:00
Christian
8ec6f1e40f
tabline formatter: prepare for vim9 script implementation
2020-11-27 10:42:13 +01:00
Christian
0d0c380940
highlighter: fix a couple of vim9script errors and fix indentation
2020-11-27 10:40:38 +01:00
Christian
9f7557df44
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:38 +01:00
Christian
f615f8bad3
autoload: bufnr argument of #highlight function is actually a string
2020-11-27 10:40:38 +01:00
Christian
f5e2f97003
highlighter: vim9 script implementation of #highlight()
2020-11-27 10:40:38 +01:00
Christian
14fd943dc6
highlighter: vim9 script implementation of highlight_modified_inactive
2020-11-27 10:40:37 +01:00
Christian
e9d4ff75da
highlighter: vim9 script implementation of add_accent
2020-11-27 10:40:37 +01:00
Christian
9b32ed3229
highlighter: remove ! from :def in vim9script
2020-11-27 10:40:37 +01:00
Christian
58b2a8bbc8
highlighter: add foldmarker at final endif
2020-11-27 10:40:37 +01:00
Christian
5ac55ea4e5
highlighter: vim9 script implementation of add_separator
2020-11-27 10:40:37 +01:00
Christian
56ba4b34a7
highlighter: vim9 fix duplicate variable name in s:exec_separator function
2020-11-27 10:40:37 +01:00
Christian
798a346a91
highlighter: vim9 script implementation of load_theme
2020-11-27 10:40:36 +01:00
Christian
4f8675434a
highlighter: get rid of superflous l: var prefix
2020-11-27 10:40:36 +01:00
Christian
5391b3e246
highlighter: vim9 script implementation of s:exec_separator
2020-11-27 10:40:36 +01:00
Christian
7310ca6cbf
highlighter: run ex command with leading colon in vim9 function #exec
2020-11-27 10:40:36 +01:00
Christian
9ae38b43e4
highlighter: vim9 script implementation of s:GetHiCmd
2020-11-27 10:40:36 +01:00
Christian
2441084898
highlighter: vim9 script implementation of s:CheckDefined
2020-11-27 10:40:36 +01:00
Christian
d9947beb0f
highlighter: vim9 script implementation of #exec
2020-11-27 10:40:36 +01:00
Christian
a6b7267979
highlighter: vim9 script implementation of s:hl_group_exists
2020-11-27 10:40:35 +01:00
Christian
90de76359f
highlighter: use synIDtrans() in s:hl_group_exists (legacy vimscript)
...
When checking the defined foreground color in the function that checks
whether a highlighting group exists, it should follow the syntax group
links and check the final color.
2020-11-27 10:40:35 +01:00
Christian
0238d386bb
highlighter: vim9 script implementation of get_highlight2
2020-11-27 10:40:35 +01:00
Christian
19861861fd
highlighter: vim9 script implementation of get_highlight
2020-11-27 10:40:35 +01:00
Christian
687fb52d9f
fix indentation of legacy vimscript (remove tabs)
2020-11-27 10:40:35 +01:00
Christian
aa8bd171f3
highlighter: vim9 script implementation of reset_hlcache
2020-11-27 10:40:35 +01:00
Christian
b152059a98
highlighter: vim9 script implementation of s:get_array
2020-11-27 10:40:34 +01:00
Christian
4d75c9940c
highlighter: vim9 script implementation of s:get_syn
2020-11-27 10:40:34 +01:00
Christian
ae3af85ca2
highlighter: remove a couple of empty lines in legacy vimscript implementation
2020-11-27 10:40:34 +01:00
Christian
a9f525f8da
highlighter: vim9 script implementation of s:group_not_done
2020-11-27 10:40:34 +01:00
Christian
3e93c212cc
highlighter: vim9 script implementation of s:gui2cui
2020-11-27 10:40:34 +01:00
Christian
a8afa434e3
highlighter: Add condition for new vim9 script implementation
...
Add a new condition that will contain the new vim9script implementation
of the highlighter logic. Not done yet.
To test it out, you need a recent Vim 8.2 and in addition set the
configuration variable
:let g:airline_experimental=1
Implementation for all the functions will follow.
2020-11-27 10:40:34 +01:00
Christian
b0d4a44f0c
add foldmarker to highlighter.vim
2020-11-27 10:40:33 +01:00
Christian
0abcdbeba5
convert msdos.vim
2020-11-27 10:40:33 +01:00
Christian
609205f1e8
remove trailing whitespace
2020-11-27 10:40:33 +01:00
Christian
06117a61e1
highlighter: windows terminal is not old win_term
2020-11-27 09:49:17 +01:00
Christian Brabandt
79eac1558a
Merge pull request #2293 from srinivas32/master
...
added power support arch ppc64le on yml file.
2020-11-27 08:32:38 +01:00
Christian Brabandt
157af8ad8b
tabline: use airline#util#strcharpart instead on relying on stpart() with char index
2020-11-26 14:00:29 +01:00
Christian Brabandt
cbf0a8e69a
tabline: use strpart() with chars if possible ( fixes #2297 )
2020-11-26 10:04:43 +01:00
Christian Brabandt
a168ca7a28
tabline: get rid of s:vars in default formatter
2020-11-26 10:04:43 +01:00
Christian Brabandt
a48f67657f
Merge pull request #2295 from nbCloud91/patch-1
...
coc_status should show with autochdir
2020-11-21 20:03:04 +01:00
Christian
91a8ada0f9
doc: document tabline highlighting groups ( closes #2285 )
2020-11-19 14:17:22 +01:00
Christian
beb20cb49f
doc: mention that the tabline mappings are not automatically created
...
related: #2290
2020-11-19 13:52:08 +01:00
Christian Brabandt
536667191d
Merge pull request #2287 from timfeirg/master
...
buf_diagnostics_count is deprecated. Use 'vim.lsp.diagnostic.get_count'
2020-11-14 12:11:18 +01:00
Christian Brabandt
731bdb11d2
Merge pull request #2286 from jan-xyz/patch-1
...
remove work-around for vista.vim
2020-11-10 08:47:56 +01:00
Christian Brabandt
9267cef0f8
Merge pull request #2282 from martskins/handle-lcn-not-running
...
Check LanguageClient-neovim's status before getting diagnostics
2020-11-09 18:35:51 +01:00
Christian Brabandt
bb760710cc
Merge pull request #2283 from Kamilcuk/master
...
Fix typo in checking if gen_tags plugin is loaded
2020-11-09 18:26:12 +01:00
Christian Brabandt
5f2421fa39
Merge pull request #2276 from kazukazuinaina/fix_indent_bookmark_extension
...
[fix] bookmark extension's indentation and add abort
2020-11-06 09:11:35 +01:00
Christian Brabandt
3f4b811510
Merge pull request #2278 from kazukazuinaina/fix_short_path_space
...
[fix] short path formatter's space
2020-11-06 09:10:34 +01:00
Christian Brabandt
d64e5f8dd7
extensions: fix E715
...
Make sure, that the get() function returns the correct variable type
2020-11-05 10:36:03 +01:00
Christian Brabandt
dcebc6d2aa
Merge pull request #2273 from NFrid/master
...
add more customization options for keymap extension
2020-11-05 09:23:58 +01:00
Christian Brabandt
44b7b72938
Merge pull request #2266 from vim-airline/refactor_airline_gui_mode
...
Get rid of g:airline_gui_mode
2020-10-30 09:18:29 +01:00
Christian Brabandt
c8c0e7d9ff
Get rid of g:airline_gui_mode
...
This is needed for Neovim, because an external UI could be attached to
the same neovim server, so it does not make sense to define highlighting
groups with either only the cterm or the guifg attribute set.
So refactor the code slightly got get rid of this variable (and since
this variable is not needed anymore, we can also get rid of the guienter
and OptionSet autocommand).
fixes : #2261
2020-10-30 08:32:35 +01:00
Christian Brabandt
38c9f9ca3d
Merge pull request #2256 from Kamilcuk/master
...
Add gen_tags.vim plugin support
2020-10-29 13:41:35 +01:00
Christian Brabandt
8608270bd3
Merge pull request #2257 from weirane/nroff-wordcount
...
Add nroff to wordcount
2020-10-18 16:48:42 +02:00
Christian Brabandt
85c64a668d
Merge pull request #2259 from subnut/master
...
Improve the documentation of localsearch extension
2020-10-18 16:48:20 +02:00
Christian Brabandt
83bd08a97a
Merge pull request #2243 from whisperity/battery-plugin-no-overwrite
...
[battery.vim] Change indicator to not overwrite position section
2020-10-14 09:04:46 +02:00
Christian Brabandt
14abb40287
Merge pull request #2255 from JNRowe/master
...
Fix doc for enabling wordcount’s reading time support
2020-10-14 09:04:08 +02:00
Christian Brabandt
7087c475be
Merge pull request #2253 from adrian5/master
...
Fix wording/typos in doc
2020-10-12 10:18:53 +02:00
Christian Brabandt
aa773f5cdf
Merge pull request #2248 from MuhammadMouradG/master
...
Fix buffer order in tabline with CtrlSpace plugin
2020-10-06 14:41:34 +02:00
Christian Brabandt
958ffe059a
doc: fix grammatical typo
...
fixes : #2246
2020-10-05 10:50:05 +02:00
Christian Brabandt
9614105d09
Merge pull request #2240 from subnut/master
...
Add more customization for 'localsearch' extension
2020-09-26 08:50:14 +02:00
Christian Brabandt
3740312de0
Merge pull request #2234 from kmoschcau/master
...
Improve the term extension and make it consistent
2020-09-16 11:59:03 +02:00
Christian Brabandt
bf4bba4c5a
Merge pull request #2237 from kazukazuinaina/update_gitignore
...
[update] .gitignore
2020-09-15 14:15:31 +02:00
Christian Brabandt
3272a2d490
doc: mention coc explorer
...
related: #2235
2020-09-15 14:14:21 +02:00
Christian Brabandt
af556115de
Merge pull request #2235 from andys8/patch-1
...
Support coc-explorer (file explorer extension)
2020-09-15 14:10:45 +02:00
Christian Brabandt
47c9205127
Merge pull request #2236 from chrisbra/fix_failing_test
...
fix failing test
2020-09-15 12:27:30 +02:00
Christian Brabandt
aed3523ee3
fix failing test
2020-09-15 12:22:41 +02:00
Christian Brabandt
f5693986c4
Merge pull request #2227 from kazukazuinaina/add_battery_extensions
...
[add] support for battery.vim
2020-09-09 09:03:30 +02:00
Christian Brabandt
51f599e2cf
Merge pull request #2223 from arafel/magit_dictionary
...
vim-magit: Can't use an empty dictionary key
2020-09-03 12:46:56 +02:00
Christian Brabandt
c77d89046e
doc: fix typo for show_buffers variable
...
related: #2218
2020-08-27 13:07:32 +02:00
Christian Brabandt
0f5eedff74
mode: keep hi setting when switching from 'n' to 'ni'
...
when using `Ctrl-O` from insert mode, the highlighting currently updates
from insert mode highlighting to normal mode highlighting.
Unfortunately, changing the highlighting can be a bit expansive, so
redefining the highlighting just for one simple command does not make
too much sense.
Instead, keep the insert mode highlighting, because that's kind of like
the major mode Vim is in currently. The mode message uses '(INSERT)' to
distinguish between a "normal" INSERT mode and this temporary INSERT
mode, so it should still be visually be distinguishable.
closes #2217
2020-08-26 22:46:05 +02:00
Christian Brabandt
3a55368320
searchcount: Ignore errors from searchcount() function
...
If the search regex causes an error, an ugly error message is thrown,
so ignore errors in that case silently.
closes #2216
2020-08-25 13:36:03 +02:00
Christian Brabandt
02c529efe4
Merge pull request #2205 from eevan78/master
...
Several fixes and improvements
2020-08-20 09:33:53 +02:00
Christian Brabandt
6a1c2a74e9
Merge pull request #2125 from shaine/master
...
Use disabled style for inactive tabs
2020-08-12 15:43:05 +02:00
Christian Brabandt
a294f0cb7e
Merge pull request #2183 from tooSadman/nvim-lsp-support
...
Added support for built-in nvim-lsp
2020-08-12 15:41:47 +02:00
Christian Brabandt
8037c373d0
Merge pull request #2195 from kazukazuinaina/add_wordcount_formatter_readingtime
...
[add] wordcount's reading time formatter
2020-08-12 15:40:26 +02:00
Christian Brabandt
21e47ca5b3
Disable whitespace checking for csv files
...
In addition, add a time limit of 500 ms for detecting the indent
fixes : #2200
2020-08-12 15:38:26 +02:00
Christian Brabandt
ffa44b8327
Merge pull request #2188 from kazukazuinaina/fix_searchcount_extension
...
[fixup] Release the search restriction and remove unnecessary functions
2020-08-03 15:20:49 +02:00
Christian Brabandt
e4077b1725
Merge pull request #2185 from dcousens/patch-1
...
Fix spelling typo in comment
2020-08-03 14:44:58 +02:00
Christian Brabandt
a836e09e91
Merge pull request #2187 from kazukazuinaina/add_section_c_short_path
...
[add] short_path formatter in section_c
2020-08-03 12:21:44 +02:00
Christian Brabandt
7fc51f6952
Merge pull request #2181 from cdelledonne/master
...
Add support for cdelledonne/vim-cmake
2020-07-17 19:36:00 +02:00