James McCoy
fa5182489a
Merge pull request #9411 from jamessan/vim-8.1.0662
...
vim-patch:8.1.0662: needlessly searching for tilde in string
2018-12-30 10:05:12 -05:00
James McCoy
1e06c235b8
vim-patch:8.1.0662: needlessly searching for tilde in string
...
Problem: Needlessly searching for tilde in string.
Solution: Only check the first character. (James McCoy, closes vim/vim#3734 )
ef0a1d5ed3
2018-12-30 09:02:35 -05:00
James McCoy
d442345729
Merge pull request #9409 from jamessan/vim-8.0.1469
...
[RFC] vim-patch:8.0.1469,8.0.1734,8.1.0353,8.1.0354
2018-12-29 20:18:36 -05:00
James McCoy
bebbf08c8c
vim-patch:8.1.0354: packadd test fails on MS-Windows
...
Problem: Packadd test fails on MS-Windows.
Solution: Ignore difference between forward and backward slashes.
53c8a478cc
2018-12-29 16:53:09 -05:00
James McCoy
ce4199e8b0
vim-patch:8.1.0353: an "after" directory of a package is appended to 'rtp'
...
Problem: An "after" directory of a package is appended to 'rtp', which
will be after the user's "after" directory. ()
Solution: Insert the package "after" directory before any other "after"
directory in 'rtp'. (closes vim/vim#3409 )
99396d4cbf
2018-12-29 16:52:25 -05:00
James McCoy
91f40ff284
vim-patch:8.0.1734: package directory not added to 'rtp' if prefix matches
...
Problem: Package directory not added to 'rtp' if prefix matches.
Solution: Check the match is a full match. (Ozaki Kiichi, closes vim/vim#2817 )
Also handle different ways of spelling a path.
f98a39ca57
2018-12-29 12:57:16 -05:00
James McCoy
e09fb6ee53
vim-patch:8.0.1469: when package path is a symlink 'runtimepath' is wrong
...
Problem: When package path is a symlink adding it to 'runtimepath' happens
at the end.
Solution: Do not resolve symlinks before locating the position in
'runtimepath'. (Ozaki Kiichi, closes vim/vim#2604 )
2374faae11
2018-12-29 11:46:21 -05:00
Justin M. Keyes
907ad921bc
TUI: enter/exit alternate screen with "title stacking" ( #9407 )
...
Works in iTerm2 and xterm.
- patch_terminfo_bugs(): Add title-stacking sequences (\e[22t and
\e[23t) to the overrides for iTerm2 and xterm.
- Note: the builtins (terminfo_defs.h) for `iterm_256colour_terminfo`
and `xterm_256colour_terminfo` already include the sequences.
Test case (title should be "foo" after the final :q):
TERM=iterm2 nvim -u NONE +'set title titleold=foo'
:q
TERM=iterm2 nvim -u NONE +'set title titlestring=zub'
:q
closes #4063
2018-12-29 03:30:51 +01:00
Justin M. Keyes
4a7f6dafe9
Merge #9383 from jamessan/stdpath-rplugin
...
Use stdpath() to determine rplugin manifest path
2018-12-28 15:01:41 +01:00
James McCoy
135991712a
rplugin.vim: Add migration support for Windows, nvim/ -> nvim-data/
2018-12-27 21:07:28 -05:00
Justin M. Keyes
e1876c7ad1
Merge pull request #9398 from janlazo/mac-brew-addon
2018-12-27 19:27:36 +01:00
Jan Edmund Lazo
a9b1937e5a
ci: install neovim gem on macOS
...
High Sierra has ruby 2.3 preinstalled so neovim gem should work.
2018-12-27 09:44:54 -05:00
Jan Edmund Lazo
c926ba1dc4
ci: use homebrew addon to simplify shell scripts
2018-12-26 11:55:29 -05:00
Björn Linse
9ac1e2db79
Merge pull request #9394 from bfredl/highsign
...
make vim_snprintf handle %d correctly again, fix ":sign place" output
2018-12-24 10:59:24 +01:00
Björn Linse
357e59982d
strings: make vim_snprintf handle %d correctly again
...
This was broken in #9369 (4680ca2
)
2018-12-24 10:58:48 +01:00
Jan Edmund Lazo
e9685d9f70
vim-patch:8.1.0627: Python cannot handle function name of script-local function ( #9392 )
...
Problem: Python cannot handle function name of script-local function.
Solution: Use <SNR> instead of the special byte code. (Ozaki Kiichi, closes
vim/vim#3681 )
9123c0b31a
2018-12-23 13:12:59 +01:00
Daniel Hahler
d2352b7b51
vim-patch:8.1.0615: get_tv function names are not consistent ( #9386 )
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
d155d7a851
Only a change in comments appears to be necessary.
2018-12-22 13:23:01 +01:00
Björn Linse
05d8a46ec4
Merge pull request #9384 from bfredl/ui_option_check
...
test/api: verify that UI options from stable metadata are preserved
2018-12-21 14:23:35 +01:00
Justin M. Keyes
ac53536de1
CI/Travis: skip all refs except "master" [skip ci]
2018-12-21 11:48:32 +01:00
Justin M. Keyes
cf9a0799c9
CI/Travis: skip "stable" tag [skip ci]
2018-12-21 11:19:34 +01:00
Björn Linse
8b41f429bb
test/api: verify that UI options from stable metadata are preserved
2018-12-21 10:52:25 +01:00
Justin M. Keyes
04c382b2ac
win/dist: nvim-qt v0.2.11 #9382
2018-12-21 09:38:52 +01:00
James McCoy
15cc17521e
Use stdpath() to determine rplugin manifest path
2018-12-20 21:40:05 -05:00
Justin M. Keyes
87b40f7445
Merge #9280 'Lua 5.2+ compatbility'
2018-12-20 18:32:54 +01:00
Justin M. Keyes
127b8569e6
lint
2018-12-20 11:57:30 +01:00
Justin M. Keyes
221f6fffad
runtime/lua/vim/compat.lua
...
ref #9280
Introduce the `vim.compat` module, to help environments with system Lua
5.2+ run the build/tests. Include the module implicitly in all tests.
ref #8677
legacy `vim` module:
beep
buffer
command
dict
eval
firstline
lastline
line
list
open
type
window
2018-12-20 11:57:30 +01:00
Matěj Cepl
e6d0dea42b
test: Lua 5.2/5.3 compat #9280
...
Make the code run both on Lua 5.1 (which is the default for Neovim, and
is what LuaJIT provides) and Lua 5.2+.
2018-12-20 11:57:30 +01:00
Justin M. Keyes
ccb005b9e0
Merge #9369 'vim-patch:8.1.0596'
2018-12-19 06:42:42 +01:00
erw7
cb76a8a95f
genappimage: Unset $ARGV0 at invocation #9376
...
AppImage sets $ARGV0 which breaks zsh.
Hack around this in our appimage.
fixes #9341
ref https://github.com/AppImage/AppImageKit/issues/852
[ci skip]
2018-12-19 06:30:58 +01:00
Anatolii Sakhnik
1ff7b83d3c
l10n: Update Ukrainian translation #9377
2018-12-19 06:02:31 +01:00
Jan Edmund Lazo
4680ca29f1
strings: use (u)int16_t for %h printf format
2018-12-16 14:52:14 -05:00
Jan Edmund Lazo
ae6848cd12
vim-patch:8.1.0596: not all parts of printf() are tested
...
Problem: Not all parts of printf() are tested.
Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3691 )
21e551cce2
2018-12-16 14:48:30 -05:00
James McCoy
7a8dadbedb
Merge pull request #9077 from jamessan/xdg-sysinit
...
startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists
2018-12-16 13:20:54 -05:00
James McCoy
314f6ea367
startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists
...
Closes #8994
2018-12-16 12:05:47 -05:00
Justin M. Keyes
b48efd9ba7
Merge #9347 from justinmk/tui-bsd
...
TUI: detect BSD vt console
2018-12-16 14:28:17 +01:00
Justin M. Keyes
cffe2d4642
CI/AppVeyor: install "pynvim" python package #9371
2018-12-16 10:47:59 +01:00
Justin M. Keyes
3f55010cda
TUI: TERM=nsterm
...
Treat TERM=nsterm the same way in augment_terminfo() and
patch_terminfo_bugs().
ref #9244 463d28cc80
2018-12-16 07:07:24 +01:00
Justin M. Keyes
ab7da4c531
TUI: detect BSD vt console
...
FreeBSD console sets TERM=xterm, but it does not support xterm features
like cursor-shaping. GUI terminals typically set TERM=xterm-256color, so
on FreeBSD we can guess that TERM=xterm is the degraded vt.
OpenBSD console sets TERM=vt220
https://github.com/openbsd/src/blob/master/etc/etc.amd64/ttys
NetBSD console sets TERM=vt100
https://github.com/NetBSD/src/blob/trunk/etc/etc.amd64/ttys
closes #8644
2018-12-16 07:04:02 +01:00
Justin M. Keyes
5e8f2048b5
Merge #9367 'vim-patch:8.1.{585,588}'
2018-12-15 14:24:17 +01:00
Björn Linse
2aba5569a1
Merge pull request #9368 from bfredl/doublewrap
...
TUI: handle wrap of doublewidth chars correctly
2018-12-15 12:54:06 +01:00
Björn Linse
8fb1fce694
TUI: handle wrap of doublewidth chars correctly
2018-12-15 09:54:25 +01:00
Jan Edmund Lazo
845973c9fe
vim-patch:8.1.0588: cannot define a sign with space in the text
...
Problem: Cannot define a sign with space in the text.
Solution: Allow for escaping characters. (Ben Jackson, closes vim/vim#2967 )
06b056e110
2018-12-14 22:51:12 -05:00
Jan Edmund Lazo
bcc9b9335c
vim-patch:8.1.0585: undo test may fail on MS-Windows
...
Problem: Undo test may fail on MS-Windows.
Solution: Also handle lower case drive letters.
56242f2b08
2018-12-14 22:41:59 -05:00
Justin M. Keyes
c16529afa5
TUI: Konsole 18.07.70 supports DECSCUSR ( #9364 )
...
ref b0d3d83eca
KONSOLE_VERSION is exported as a numeric string (after removing the dots
from the version string).
ref #8300
closes #6778
closes #6798
2018-12-14 22:54:39 +01:00
Björn Linse
aec096fc5b
Merge pull request #9362 from bfredl/macnumlocale
...
os/lang: use the correct LC_NUMERIC also for OS X
2018-12-13 18:23:23 +01:00
Björn Linse
7ba52c0b2b
os/lang: use the correct LC_NUMERIC also for OS X
2018-12-13 17:07:12 +01:00
Justin M. Keyes
1cca5da05f
Merge #9348 from janlazo/vim-8.0.1748
...
vim-patch:8.0.1748
2018-12-13 02:46:12 +01:00
Justin M. Keyes
af368981a7
Merge #9355 from mhinz/ruby-provider-path
...
provider: make :ruby provider check use same code path as :python
2018-12-13 02:40:54 +01:00
Jan Edmund Lazo
4157f4c72d
ex_docmd: '/' is not a path for Cmdline* events
...
Code from https://github.com/neovim/neovim/pull/9348#issuecomment-446416118
autocmd_fname_full was removed in 82cd0be2ea
but Vim uses this hack for <afile> on CmdlineEnter and related events
in vim-patch:8.0.1748.
Port the hack by not treating "/" as a path for <afile> on these events.
2018-12-12 19:15:05 -05:00
Jan Edmund Lazo
0930435fc3
vim-patch:8.0.1748: CmdlineEnter command uses backslash instead of slash
...
Problem: CmdlineEnter command uses backslash instead of slash.
Solution: Don't treat the character as a file name. (closes vim/vim#2837 )
a4baf5b325
2018-12-12 19:14:16 -05:00