Commit Graph

2566 Commits

Author SHA1 Message Date
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
Moschcau, Kai
d40e5f9a1d
Improve the term extension and make it consistent
This improves the term extension in a few ways.

First it fixes some vint warnings about case sensitive comparisons.

Next it makes the active and inactive variants consistent, as well as
making the line number display consistent to other buffer types. This
was one of the main reasons to do this, because the inclusion of the
Neoterm ID in a previous pull request made inactive terminal status
lines look really inconsistent compared to the active ones.

Further this now shows the Neoterm ID in both active and inactive
buffers in Airline section B. It also removes the now redundant
Neoterm IDs from the buffer name in both Neovim and Vim.

Finally the cosmetic buffer name is now used for both active and
inactive variants.
2020-09-16 09:41:18 +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
Andy
98683125f6 Support coc-explorer (file explorer extension) 2020-09-15 13:44:05 +02:00
Nathan Lanza
27b52acee7
Only attempt to use dirvish if b:dirvish exists
This was causing persistent errors when you run, for example,

```
ls | nvim -c 'setf dirvish'
```

as dirvish will not yet have set that local variable yet airline will
attempt to use it.
2020-09-15 12:30:27 +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
kazukazuinaina
30287992e2 [update] .gitignore 2020-09-15 18:18:07 +09: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
kazukazuinaina
2a69254d21 [add] support battery.vim 2020-09-08 01:26:24 +09: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
Paul Walker
dd5a3c91a1 vim-magit: Can't use an empty dictionary key 2020-09-03 10:51:23 +01:00
IK
2daabc2cce
Merge pull request #2222 from kazukazuinaina/fix_nerdtree_setting_variables
[fix] document's typo about nerdtree_statusline
2020-09-03 17:34:31 +09:00
kazukazuinaina
7f91b54a44 [fix] document's typo about nerdtree_statusline 2020-09-03 17:20:52 +09: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
huanhuan_zhuang
5d3cfa4045
add 'g:airline#extensions#tabline#tabtitle_formatter' option
The option can be used to specify a customized format() function to display tab title in tab mode
2020-08-25 13:42:18 +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
IK
ef4666bd86
Merge pull request #2210 from kr5hn4/patch-1
Update README.md
2020-08-21 03:38:30 +09:00
Krishna Biradar
a738664dcc
Update README.md
Fix typo
2020-08-20 22:43:42 +05:30
Christian Brabandt
02c529efe4
Merge pull request #2205 from eevan78/master
Several fixes and improvements
2020-08-20 09:33:53 +02:00
eevan78
c1134da741
Fix po.vim
There is an extra '] ' in case when a display_limit is set. Also change messages == '0T' to messages ==# '0T'
2020-08-19 11:00:39 +04:00
IK
f84683a8c2
Merge pull request #2204 from kazukazuinaina/fix_vista_statusline
[adjust] vista's extension  width
2020-08-18 15:44:32 +09:00
eevan78
ad80550252
Initial Windows support for msgfmt
For now, it is tested successfully on the latest Vim 8.2 running on Windows 10.
Needs further change and testing for Neovim and older Vim versions.
2020-08-15 02:52:48 +04:00
eevan78
c78c1fb870
Make keymap extension follow the iminsert option
This small change makes keymap extension sensitive to <CTRL-^> in Insert mode.
2020-08-15 02:43:58 +04:00
eevan78
5770e8befd
Small improvements of po extension
• Fixed shortening of message. It was not showing more than one digit for fuzzy and untranslated strings.
• Fixed case when starting translation (0 translated), and accomodated for some bigger po catalogs (more than 1000 strings)
• Add support for Windows (I use it on Windows, it works fine with latest Vim. Didn't test Neovim or older Vim versions, though)
• Add one extra space character to the right of the output string
2020-08-15 02:39:25 +04:00
kazukazuinaina
0cebac6bb0 [adjust] vista's extension width 2020-08-15 00:17:01 +09:00
IK
19d1990f86
Merge pull request #2202 from kazukazuinaina/fix_reading_time_doc
[fix] readingtime formatter's doc
2020-08-13 01:56:38 +09:00
kazukazuinaina
8e0d5cd95d [fix] readingtime formatter's doc 2020-08-13 01:52:50 +09:00
IK
f4aaa7c76f
Merge pull request #2201 from kazukazuinaina/add_readingtime_doc
[add] readingtime formatter's document
2020-08-13 00:55:58 +09:00
kazukazuinaina
12f1934d38 [add] readingtime formatter's document 2020-08-13 00:23:51 +09: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
kazukazuinaina
f26a01cd02 [add] wordcount's reading time formatter 2020-08-07 00:05:38 +09:00
IK
16935cc666
Merge pull request #2194 from kazukazuinaina/add_new_test
[add] new vim version's test
2020-08-06 18:47:28 +09:00
kazukazuinaina
8cd824b4ac [add] new vim version's test 2020-08-06 18:42:06 +09:00
IK
16f88fe363
Merge pull request #2193 from kazukazuinaina/add_short_path_doc
[add] short_path's doc in airline
2020-08-06 01:05:04 +09:00
kazukazuinaina
0e2cc23d49 [add] short_path's doc in airline 2020-08-05 14:15:14 +09:00
tooSadman
782774c0dc Added support for built-in nvim-lsp 2020-08-03 18:19:26 +03: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
kazukazuinaina
1ca2428f51 [fixup] Release the search restriction and remove unnecessary functions 2020-07-28 16:29:42 +09:00
IK
2a027e992d
Merge pull request #2186 from kazukazuinaina/fix_searchcount_extension
[fix] searchcount's extension
2020-07-28 11:14:33 +09:00
kazukazuinaina
7ff5fdc349 fix CI 2020-07-23 16:11:19 +09:00
kazukazuinaina
b322ee6728 [add] short_path formatter in section_c
[update] test
2020-07-23 15:58:21 +09:00