Christian Brabandt
133a76d2d4
plugin: reset syntax highlighting on :syn off
...
hopefully fixes #1590
2018-01-04 20:07:15 +01:00
Christian Brabandt
c518f79aab
tabline: allow to show buffers label at start
2018-01-04 19:38:07 +01:00
Christian Brabandt
9d28f0dcc7
tabline: allow to show current buffer/tab at first position
...
This will make highlighting more consistent. Always first item is the
one where the cursor is.
2018-01-04 19:32:29 +01:00
Christian Brabandt
30652c05c4
tabline: correct order of tab/buffer labels
2018-01-04 19:09:02 +01:00
Christian Brabandt
90cf752c90
tabline: add separate highlight group for labels
2018-01-04 18:57:28 +01:00
Christian Brabandt
3b631ef0c4
tabline: refactor label function
2018-01-04 18:43:03 +01:00
Christian Brabandt
3985ece131
tabline: add [buffers]/[tabs] labels consistently
...
previously, when both tabs and buffers were displayed in the tabline, it
was not immediately obvious which side belongs to a buffer and which one
to a tab. Therefore, add [buffers]/[tabs] labels consistently.
2018-01-04 18:34:48 +01:00
Christian Brabandt
45878a7947
tabline: remove l: prefix of function variables
2018-01-04 18:29:51 +01:00
Christian Brabandt
503b9977fb
tabline: refactor s:variables
2018-01-04 18:20:25 +01:00
Christian Brabandt
69aa1e93b3
tabline: add more try/catch for mappings
...
similar to 2e3cdeb808
add a couple of more try catch statements
around the map_keys() function
2018-01-04 18:15:40 +01:00
Christian Brabandt
645f65d8d9
ctrlspace: wrong separator
...
under certains circumstances it could happen that for the vim-ctrlspace
tabline extension a tabline group was redefined which would cause a
separator having foreground and background color swapped. This was
caused by using the 'pos' parameter for the right side wrongly.
fixes #1559
2018-01-04 18:07:03 +01:00
Christian Brabandt
45236ba7c7
ctrlspace: refactor s:variables
2018-01-04 17:27:34 +01:00
Christian Brabandt
a25757ac64
tabline: Allow an alternate style for bufferlist
...
fixes #1608
2018-01-04 15:45:36 +01:00
Christian Brabandt
d78f686ce5
tabline: remove some more s:vars
2018-01-04 14:35:10 +01:00
Christian Brabandt
6ba65b2c8c
tabline: remove s:show_tab_type variable
2018-01-04 14:30:16 +01:00
Christian Brabandt
708c76e22c
tabline: do not cache s:buffer_idx_mode
2018-01-04 14:23:50 +01:00
Christian Brabandt
d03c3fa7b9
tabline: remove l: variable prefix
2018-01-04 14:20:36 +01:00
Christian Brabandt
72e457d8c2
tabline: remove static caching of s:vars
...
rather let them be defined whenever they are needed. They were only used
inside a single function anyhow, so it does not make sense to cache
them. In addition, having the user later change the variable won't work
as expected.
2018-01-04 14:11:13 +01:00
Christian Brabandt
2e3cdeb808
tabline: try/catch mapping of the keys
...
fixes #1621
2018-01-04 14:11:11 +01:00
Kyle Holzinger
66991f53fa
add to docs
2017-12-28 16:08:32 -05:00
Kyle Holzinger
a3d5e84417
Add formatter for js files
2017-12-28 15:43:13 -05:00
Christian Brabandt
c386332570
Merge pull request #1619 from tracyone/doc
...
doc: update ctrlp.vim url
2017-12-28 11:20:23 +01:00
Christian Brabandt
125d3443e4
Merge pull request #1620 from Cimbali/master
...
Cache file names in fugitiveline extension
2017-12-28 11:20:05 +01:00
Cimbali
18da5aa699
Separate updating and displaying branch information
...
This will cause any calls that are not just head() to be delayed and
cached whenever possible.
2017-12-26 22:30:23 +01:00
Cimbali
1ee057362d
Caching path simplified using fugitive
2017-12-26 22:30:23 +01:00
tracyone
450fa168ea
doc: update ctrlp.vim url
2017-12-25 21:27:55 +08:00
Cimbali
e0dd3d8125
Rename merge file names
...
Clearer names that reference the HEADs of git: FETCH_HEAD, ORIG_HEAD and
MERGE_HEAD, rather than the names that fugitive uses for them.
2017-12-23 15:05:59 +01:00
Christian Brabandt
bc985301db
Merge pull request #1603 from Cimbali/master
...
Improve fugitive integration
2017-12-21 09:09:44 +01:00
Christian Brabandt
6c8d0f5e6a
Merge pull request #1605 from EdwardBetts/patch-2
...
Correct spelling mistake.
2017-11-27 09:27:58 +01:00
Christian Brabandt
77ab703a55
Merge pull request #1604 from EdwardBetts/patch-1
...
Correct spelling mistake.
2017-11-27 09:27:40 +01:00
Edward Betts
3b304f36ae
Correct spelling mistake.
2017-11-25 21:14:31 +00:00
Edward Betts
7afc60af25
Correct spelling mistake.
2017-11-25 21:12:44 +00:00
Cimbali
e415c5301f
Trusting fugitive instead of tracking paths manually
...
The initial reason in #237 is not valid anymore, as vim-gitgutter
functions as expected for editing files that are not part of a repo,
whether they are:
- in a different repo
- in a parent repo (cwd being a submodule)
- outside of the repo
Furthermore, removing this check allows to show relevant info for
specific fugitive file names that are fugitive://..../sha1//...
which are hard to parse manually, especially in complicated situations
such as submodules.
2017-11-22 23:55:22 +01:00
Cimbali
8c4bf37588
Configurability: parametrizable sha1 length
2017-11-22 23:01:54 +01:00
Cimbali
33663d7df2
Show buffer name relative to git folder
2017-11-22 23:00:58 +01:00
Cimbali
009f7932fb
Show #branch#head() as "ref-or-sha1(current-branch)"
...
Only changes anything in the case of using fugitive to show a file that
is not from the current working directory.
2017-11-22 23:00:57 +01:00
Cimbali
f0093ceaa6
Remove code redundant with fugitive#head()
...
It which requires a path, and just performed the same as
fugitive#head() does internally.
2017-11-22 19:25:26 +01:00
Christian Brabandt
3e13bab201
Merge pull request #1600 from PratikBhusal/patch-1
...
Add function to show line number
2017-11-20 13:58:21 +01:00
Christian Brabandt
d719d0664a
Merge pull request #1602 from jreybert/dev/vimagit
...
vimagit: let vimagit itself returns the current mode
2017-11-20 13:57:42 +01:00
Jerome Reybert
640d6762f7
vimagit: let vimagit itself returns the current mode
...
If current vimagit version does not provide vimagit#get_current_mode(),
internal string version is kept.
2017-11-20 13:47:48 +01:00
Pratik Bhusal
58328b347c
Added function to show line number
...
The function shows the line number of the first error/warning that appears in the current buffer. If there are 20 warnings and the first warning exists on line 33, then vim-airline would show "W:20(L33)".
One can change how the line number is represented using: `g:airline#extensions#ale#open_lnum_symbol` and `airline#extensions#ale#close_lnum_symbol`
2017-11-18 14:24:47 -06:00
Christian Brabandt
4a1f65841c
README: mention how to use pack feature for install
...
fixes #1594
2017-11-15 08:06:17 +01:00
Christian Brabandt
1f84ad886c
README: still some problems
2017-11-15 07:58:22 +01:00
Christian Brabandt
c88dca5c96
README: still some problems with the table
...
(I hate markdown)
2017-11-15 07:54:50 +01:00
Christian Brabandt
dd368b3e31
README: one more fix for the table
2017-11-15 07:51:48 +01:00
Christian Brabandt
20a6fe2b9f
README: Fix table
2017-11-14 23:44:52 +01:00
Christian Brabandt
f3aae5f72b
README: show a screenshot and document what this plugin does
...
fixes #1589
2017-11-14 23:43:04 +01:00
Christian Brabandt
52ce640534
startup: remove workaround for skipping redraw
...
commit 7d082c03b2
added a workaround to skip
a few redraws on startup so that the intro message is not shown anymore.
However might cause problems, that some highlighting groups are not
correctly set. Also recent Vims (8.0.1290 and so on) do not seem to
suffer from the problem that an too early initializiation of airline
causes a redraw which skips the intro message.
Therefore, revert that commit.
Fixes #1585
2017-11-14 23:38:32 +01:00
Christian Brabandt
396cc92261
Merge pull request #1578 from ompugao/tabline_collapse_fname
...
collapse fname in tabline when using unique_tail formatter
2017-11-06 08:19:04 +01:00
Shohei Fujii
b044b4b204
collapse fname in tabline when using unique_tail formatter
2017-10-30 20:00:05 +09:00