Commit Graph

2732 Commits

Author SHA1 Message Date
IK
038e3a6ca5
Merge pull request #2627 from vim-airline/update-ci-yml
chore: Pin actions's version main branch
2023-02-03 04:29:11 +09:00
get-me-power
1828172717 chore: Pin actions-checkout's version main branch 2023-02-03 04:26:34 +09:00
Christian Brabandt
18b85395d3
wordcount: skip updating wordcount for vimtex#misc#wordcount() in visual mode
closes #2624
2023-01-29 22:07:36 +01:00
Christian Brabandt
c7460aa883
Merge pull request #2621 from bobbleclank/hunk-gitgutter-selection
Prevent selecting GitGutter when its loaded but not enabled
2023-01-22 15:10:40 +01:00
Simon Truscott
8fd91eaca9 hunks: prevent selecting GitGutter when its loaded but not enabled 2023-01-22 09:03:56 +11:00
Christian Brabandt
31e01612f3
tagbar: do not load, if file size is too large
closes: #2578
2023-01-19 21:46:36 +01:00
Christian Brabandt
dc1b607f56
tagbar: break too long line 2023-01-19 21:45:37 +01:00
Christian Brabandt
08cfcf9408
tagbar: move s:flags to inside the function
This matters, if the users later changes the
'airline#extensions#tagbar#flags'  variable, so that it will be taken
into account by the tagbar extension
2023-01-19 21:44:21 +01:00
Christian Brabandt
50a936608c
tagbar: prevent error on initial load
Tagbar plugin expects a printf() formatting string, so use one
2023-01-19 21:25:23 +01:00
Christian Brabandt
9252c11d37
tabnr_formatter: get correct name for tabpage 2023-01-19 20:57:47 +01:00
Christian Brabandt
e4a57d0be4
Merge pull request #2618 from artemvmin/short-path-improved
Add improved short path tabline formatter
2023-01-19 20:19:13 +01:00
Christian Brabandt
1d9ae3f972
tabnr formmatter: return tabpagebuflist for tab_nr==0 2023-01-18 09:32:51 +01:00
Artem Minyaylov
9eb4aa47a3 Add improved short path tabline formatter 2023-01-17 09:44:33 -08:00
Christian Brabandt
f46792ebcb
Merge pull request #2619 from artemvmin/mode-truncation
Use mode minwidth to configure truncation
2023-01-17 08:10:46 +01:00
Artem Minyaylov
04f95183e2 Use mode minwidth to configure truncation 2023-01-16 17:01:00 -08:00
Christian Brabandt
82aeea1276
extensions: fix tabnr formatter
related #2616
2023-01-16 22:58:54 +01:00
Christian Brabandt
1ecbc76682
extensions: correctly check for external extensions
fixes #2594
2023-01-11 16:45:28 +01:00
Christian Brabandt
1028c6ea12
tabnr: replace by a new naive function
This function simply returns the current tabnumber followed by the
number of buffers in the current tabpage.

The previous one either was broken long ago or did not work as expected.

fixes #2616
2023-01-11 16:41:08 +01:00
Christian Brabandt
4f5b641710
formatter: tabnr expects a number bot got List
Make sure, that the second argument is actually a number and not a list.
Note: even when fixing this, the tabpage still shows some strange output
e.g. currently
 1   1.%{len(tabpagebuflist(1))} 

In a vim window. Not sure, why Vim does no longer evaluate those %{..}
sections. Perhaps some change in Vim?

closes #2616
2023-01-09 14:55:11 +01:00
Christian Brabandt
9007d19ab7
Merge pull request #2617 from bobbleclank/use-gitsigns-status-dict
Use gitsigns_status_dict instead of gitsigns_status
2023-01-09 14:39:11 +01:00
Simon Truscott
029797db1c hunks: use gitsigns_status_dict instead of gitsigns_status
- Gitsigns also provides status as a dictionary. Use that rather than
  parsing a decorated string

- Fix indentation
2023-01-08 15:37:43 +11:00
Christian Brabandt
0913c0a3b6
Merge pull request #2613 from bobbleclank/searchcount-config
Add search-count configuration
2023-01-02 17:39:49 +01:00
Simon Truscott
e9c09a2e66 searchcount: add configuration
- Allow disabling displaying the search term.
- Allow setting the length for truncating the search term.

- Fix inconsistent status format for timed out:
  No space between search term and counts.
2023-01-02 11:42:54 +11:00
Christian Brabandt
785dbbe504
Merge pull request #2614 from bobbleclank/hunks-gitsigns
Add support for gitsigns.nvim in hunks extension
2023-01-01 10:18:35 +01:00
Simon Truscott
46f0a12bae hunks: add support for gitsigns.nvim
Refactor s:get_hunks_coc() so that parsing the hunk status can be reused
by s:get_hunks_gitsigns().

Reorder s:get_hunks_coc() for consistent ordering with related code.

Give gitsigns.nvim priority over coc-git when selecting b:source_func in
hunks#get_raw_hunks().
2023-01-01 11:46:28 +11:00
Christian Brabandt
9e2d021fc6
Merge pull request #2611 from uridium/master
Allow to define own path for short_path formatter
2022-12-23 10:42:10 +01:00
Radar
4e552414d4
Allow to define own path for short_path formatter
let g:airline#extensions#tabline#formatter = 'short_path'
let g:airline#extensions#tabline#fnamemod = ':h'

Update short_path documentation
2022-12-23 09:54:52 +01:00
Christian Brabandt
6a4c82c950
Merge pull request #2610 from pinicarus/master
only set laststatus when airline is not on top
2022-12-16 09:25:36 +01:00
Pierre-Nicolas Clauss
46e517e8c2
only set laststatus when airline is not on top
When airline is configured to show on top (`let g:airline_statusline_ontop = 1`)
and vim's `laststatus` option is configured to be hidden (`set laststatus=0`)
then there is no need to override its setting.
2022-12-16 08:28:29 +01:00
Christian Brabandt
994cfd80eb
Powerline: Mention alternative to notexists symbol
I noticed, that in some environments the default
g:airline_symbols[notexists] just does not show up, even when the same
font in the gui works. So let's at least mention a possible alternative,
that you can easily use in your vimrc:

```vim
  if !exists("g:airline_symbols")
    let g:airline_symbols = {}
  endif
  let g:airline_symbols.notexists = "\u2204"
```
2022-12-15 17:15:15 +01:00
Christian Brabandt
1cdb8824a0
Merge pull request #2609 from thomasmerz/fix_node12_deprecation
🩹 fix deprecation warning: Node.js 12 actions are deprecated.
2022-12-14 16:23:50 +01:00
Thomas Merz
13f3478b61
🩹 fix deprecation warning:
Node.js 12 actions are deprecated.
   For more information see:
   https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
   Please update the following actions to use Node.js 16: actions/checkout@master

   Using version v3, latest or master: actions/checkout#689
2022-12-14 16:09:57 +01:00
Christian Brabandt
5f5e00faad
Merge pull request #2605 from igbanam/theme/vim9-variable-arguments
Bring Vim9 Variable Arguments to airline/themes
2022-12-07 08:30:49 +01:00
Igbanam Ogbuluijah
2ae1475d0d
add variardic arguments to generate_color_map 2022-12-07 02:28:40 +00:00
Igbanam Ogbuluijah
62847a8cc9
add variardic arguments to get_highlight functions 2022-12-07 02:28:19 +00:00
Christian Brabandt
25d53a80f4
Merge pull request #2602 from hezhizhen/typo
fix typo
2022-11-28 08:33:13 +01:00
Zhizhen He
3c9c2ba5d4
fix typo 2022-11-24 11:47:41 +08:00
Christian Brabandt
2654f838ae
Merge pull request #2598 from limakzi/fix/add-missing-hyperlink
Fix missing hyperlink in docs
2022-11-17 16:33:30 +01:00
Christian Brabandt
f65f27b9eb
Merge pull request #2600 from Freed-Wu/fcitx
Add support for fcitx.vim
2022-11-17 16:18:44 +01:00
Wu Zhenyu
1e491727b2
Add support for fcitx.vim
<https://github.com/lilydjwg/fcitx.vim/issues/32>
2022-11-15 17:29:36 +08:00
Kamil Zabielski
a84ae5e069
Fix missing hyperlink in docs
Signed-off-by: Kamil Zabielski <kamil@zabielscy.com>
2022-11-09 10:51:40 +01:00
Christian Brabandt
29ef9e1f64
Merge pull request #2595 from 3ximus/master
Improve coc error/warning status format to include count
2022-11-06 14:09:39 +01:00
eximus
b86e5e09b2 Improve coc error/warning status format to include count 2022-11-04 16:37:31 -04:00
Christian Brabandt
d734be8cd3
Merge pull request #2590 from 0Magenta0/master
Typo: Add Missing Quotation Mark In Docs
2022-11-04 13:51:42 +01:00
Christian Brabandt
364ffba120
Merge pull request #2592 from 3ximus/master
Use the coc status variable to format error/warning text
2022-11-04 13:51:08 +01:00
Christian Brabandt
009ba4e9d0
Merge pull request #2593 from indelog/indelog-vim9-lsp
Fix: [vim9lsp] ErrorCount method updated
2022-11-04 13:46:55 +01:00
DEMAREST Maxime
5c682e7bd3 Fix vim9lsp ErrorCount method name change 2022-10-31 19:10:37 +01:00
eximus
d56f199405 Use the coc status variable to format error/warning line number 2022-10-28 14:34:11 -04:00
0Magenta0
92d3e90110 Typo: Add Missing Quotation Mark 2022-10-22 22:17:01 +03:00
Christian Brabandt
0ed7b8bb2e doc: fix typo 2022-10-13 16:56:32 +02:00