Commit Graph

2660 Commits

Author SHA1 Message Date
Christian Brabandt
a262ec6ce4
Merge pull request #2348 from craigemery/patch-1
Fix effecting for affecting.
2021-03-07 18:33:04 +01:00
Craig
639a0038cf
Fix effecting for affecting. 2021-03-03 09:38:32 +00:00
Christian Brabandt
df956aa08b
Merge pull request #2347 from ls4154/master
tagbar: add missing default search method
2021-03-02 12:41:48 +01:00
Youngjae Lee
0a7c68afb2 tagbar: add missing default search method 2021-03-02 20:27:36 +09:00
Christian Brabandt
fc639c0cf8
Merge pull request #2345 from UtkarshVerma/master
coc: Show line number for warnings and errors.
2021-03-02 10:20:12 +01:00
Utkarsh Verma
32d28421fe
coc: Show line number for warnings and errors. 2021-02-28 13:00:17 +05:30
Christian Brabandt
cb1bc19064
Merge pull request #2337 from vim-airline/Functionalization_of_branch_extension
[refactor] Functionalization of branch extension
2021-02-15 16:12:20 +01:00
kazukazuinaina
f107396118 [Refactor] Functionalization of branch extension 2021-02-14 21:22:11 +09:00
Christian Brabandt
c01977d027
Merge pull request #2326 from kdwarn/tagbar-search-method
Add searchmethod setting for tagbar extension
2021-02-05 08:19:55 +01:00
Christian Brabandt
82000c7cfc
Merge pull request #2331 from idbrii/fix-nul
Fix NUL file created when opening a .po file
2021-02-05 08:19:25 +01:00
David Briscoe
ecba959f28 Write msgfmt output to /NUL
Fix NUL file created when opening a .po file.

Using -o NUL actually creates a file called NUL in the current
directory. Using /NUL doesn't create one in C:\ (the drive the file is
located on) or any visible drive.

Despite msgfmt being able to create the file NUL (which isn't supposed
to be allowed), it's difficult to delete NUL (windows explorer can't
handle it but WSL's unix rm can remove it).

Test
Open po file and see the same warnings as before, but no NUL file
created.
Using msgfmt.exe provided by git (installed via scoop).
2021-02-04 16:13:07 -08:00
Kris Warner
a6dd1c3887 Add searchmethod setting for tagbar extension
The current implementation of tagbar does not allow for setting the
search-method in the `tagbar#currenttag` function. In
https://github.com/preservim/tagbar/pull/696, tagbar implemented this,
which has three options: nearest, neartest-stl, and scoped-stl.

The reason for adding this - for me, at least - is to use the scoped-stl
option, so that the statusline will display the proper function when
there are nested functions. (Otherwise, once you go past a nested
function, tagbar#currenttag still returns the nested function rather
than the function it was nested in.)
2021-02-04 12:18:02 -05:00
Christian Brabandt
6def2f0a82
Merge pull request #2325 from dutchgecko/fix_2324_neovim
Ensure correct checking of LSP support on neovim
2021-02-04 08:28:24 +01:00
Jan-Willem van der Sijp
b9905f2445 Ensure correct checking of LSP support on neovim
Check for differing neovim versions with different APIs for LSP.

Fixes #2324

Consists of two tests:

1. Before extension load, test if this is neovim and whether this neovim
   supports LSP
2. When getting diagnostic counts, test whether a language server is
   attached to the current buffer
2021-02-03 12:11:53 +01:00
Christian Brabandt
50dfca52ed
nvimlsp: correctly call the lua functions for nvimlsp
closes #2324

Note: seems like one needs to call v:lua.vim.lsp.buf_get_clients() and
even then some older neovims do not understand that. So wrap it around
an exists() call and hope this works for all neovims.
2021-02-02 12:25:16 +01:00
Christian Brabandt
bffa7a4d23
nvimlsp: do not check for :LspInstallInfo
nvimlsp removed the :LspInstallInfo command. So instead check explicitly
for neovim for enabling the nvimlsp extension.

In the extension itself check that at least one LSP is attached to the
buffer before returning warning and error messages.

closes #2323
2021-02-02 10:07:51 +01:00
Christian Brabandt
c7a633ce8f
Merge pull request #2319 from idbrii/lsp-hide-when-nothing
Return nothing when there is no lsp-progress
2021-01-14 10:17:20 +01:00
David Briscoe
74f1f0d990 Return nothing when there is no lsp-progress
Fix: a literal '0' appears after filename on older versions of vim-lsp.

0c8164b1b3 added support for showing lsp
progress, but didn't always explicitly return a value. Vim uses 0 as a
return value when none are supplied, so when used with an older version
of vim-lsp that doesn't have the progress feature a 0 appeared in the
statusline.
2021-01-13 15:25:45 -08:00
Christian Brabandt
0ca9576331
Merge pull request #2313 from DunZzzz/patch-1
Support Vue.js file extension in jsformatter
2021-01-10 19:36:20 +01:00
Emilien Jégou
36f14c478a Support Vue.js file extension in jsformatter
Included `.vue` extension to jsformatter for supporting Vue.js files. Vue files follows the same path resolution as js files: https://vue-loader.vuejs.org/spec.html#src-imports

Case sensitive comparison for jsformatter
2021-01-10 13:01:41 +01:00
Christian Brabandt
fdfc11f53a
Merge pull request #2318 from jsutlovic/patch-1
Modified dark.vim commandline gui colors
2021-01-08 16:13:44 +01:00
Jero Sutlovic
1651762e10
Modified dark.vim commandline gui colors
Update commandline gui colors to match the commandline cterm colors
2021-01-08 15:26:18 +01:00
Christian Brabandt
30bcbb07c3
Merge pull request #2317 from kidonng/patch-1
Update vim-lawrencium link
2021-01-05 10:35:02 +01:00
Kid
c32215e94b
Update vim-lawrencium link 2021-01-05 17:17:57 +08:00
Christian Brabandt
0eb2ed4488
Merge pull request #2315 from micchy326/impl_vim_lsp_progress
impl vim-lsp progress
2021-01-04 08:38:43 +01:00
Christian Brabandt
da6b076ee4
doc: mention that searchcount is only enabled when 'hls' is on 2021-01-02 20:35:58 +01:00
Christian Brabandt
4d284a677c
searchcount: Add leading space
closes #2314 #2154

Add a leading space before the searchcount statistics. Note, that this
uses a non-breaking space, because it looks like Vim is stripping aways
leading space characters (see vim/vim#1431)
2021-01-02 20:25:00 +01:00
Christian Brabandt
8a60582527
init: section_y includes missing endofline and BOM 2021-01-02 19:26:44 +01:00
micchy326
8a80369227 describe to disabling procedure 2021-01-02 21:16:40 +09:00
micchy326
14c79dd2fe fix test 2021-01-02 17:42:09 +09:00
micchy326
dad2c03cf5 fix vint 2021-01-02 17:01:06 +09:00
micchy326
0c8164b1b3 impl vim-lsp progress 2021-01-02 16:51:16 +09:00
Bailey Ling
5601c0928e Happy new year! 2021-01-01 12:57:00 +00:00
Bailey Ling
60083f35a8 Update maintainers list 2021-01-01 12:54:47 +00:00
Christian Brabandt
17bf22e6fb
Merge pull request #2310 from roachsinai/select_tenth_buffer
tabline: add command for skip to tenth buffer.
2020-12-30 11:13:51 +01:00
roachsinai
505a7d75ca tabline: add command for skip to tenth tab/buffer. 2020-12-30 00:21:43 +08:00
Christian Brabandt
59b4826806
plugin: remember 'scroll' option value and reset it after enabling the statusline
fixes #2307
2020-12-23 13:43:30 +01:00
Christian Brabandt
f39208f1a0
Merge pull request #2302 from kazukazuinaina/update_readme_changelog
[update] CI's badge and [update] CHANGELOG.md
2020-12-09 08:58:46 +01:00
kazukazuinaina
c0160d93a8 [update] CI's badge and [update] CHANGELOG.md 2020-12-09 16:56:04 +09:00
Christian Brabandt
c074620bfd
Merge pull request #2300 from kazukazuinaina/delete_travis
delete travis.yml
2020-12-09 08:42:23 +01:00
kazukazuinaina
4858046e94 delete travis.yml 2020-12-09 16:39:05 +09:00
Christian Brabandt
6d6afc527e
Merge pull request #2299 from kazukazuinaina/add_gha
[add] github-actions
2020-12-09 08:34:52 +01:00
kazukazuinaina
9a3a11f966 [add] github-actions
Note: According to an email from travis-ci, travis-ci.org will be officially closed down completely on December 31st, 2020
2020-12-09 16:19:28 +09:00
Christian Brabandt
2cea83eb88
whitespace: skip trailing ws test for mail filetypes 2020-12-06 09:46:14 +01:00
Christian Brabandt
9ce6f96f60
highlighter: windows terminal uses $WT_SESSION 2020-12-04 09:43:01 +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