Christian Brabandt
3a2323feac
branch: shorten default master for smaller windows
2018-01-05 08:12:10 +01:00
Christian Brabandt
c76019ac9e
Safety: Make sure g:airline_theme is defined before using it
...
fixes #1624
2018-01-04 23:54:12 +01:00
Christian Brabandt
a90ac37cb3
Changelog: slightly reorded items
2018-01-04 23:37:10 +01:00
Christian Brabandt
2ef81d4140
Changelog: Add links to the issues
2018-01-04 23:33:30 +01:00
Christian Brabandt
3b5f2bd470
async: Todo: Check if cwd option for Vim 8 is needed
2018-01-04 23:29:15 +01:00
Christian Brabandt
88130fd377
Updated Changelog
2018-01-04 23:27:05 +01:00
Michael Brailsford
7215a1fdd5
clarifying documentation
...
closes #1225
2018-01-04 21:31:16 +01:00
Eduardo Suarez-Santana
ebda798080
Cursormode integrated as extension
2018-01-04 21:24:27 +01:00
Christian Brabandt
c17ad9a123
Merge pull request #1426 from lynnard/master
...
Fix problems with AirlineSelect{Prev,Next}Tab
2018-01-04 21:15:00 +01:00
Christian Brabandt
73d8abff2f
Merge pull request #1617 from kyleholzinger/master
...
Add formatter for js files
2018-01-04 21:14:00 +01:00
Christian Brabandt
4d0233ebdb
plugin: correctly re-init on :syn-enable
...
should fix #1590 correctly
2018-01-04 21:09:26 +01:00
Christian Brabandt
d283a25e3f
tabline: only show buffer label, if they were drawn
...
closes #1558
2018-01-04 20:56:09 +01:00
Christian Brabandt
ce83c39bed
tabline: allow custom formatter for tabnr_type
...
closes #1418
2018-01-04 20:41:55 +01:00
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