aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* win_line: Fix crash with 'rightleft' in :terminal #11460erw72019-11-28
| | | | | | | | | | | | | | | | fixes #11438 Backtrace: 0 schar_from_ascii ( p=0x801cc9e112c3 <error: Cannot access memory at address 0x801cc9e112c3>, c=32 ' ') at ../src/nvim/screen.c:5263 1 0x00007f31460eccc5 in win_line (wp=wp@entry=0x7fffc9df6230, lnum=lnum@entry=11, startrow=startrow@entry=10, endrow=41, nochange=false, number_only=number_only@entry=false) at ../src/nvim/screen.c:4025 2 0x00007f31460eed8e in win_update (wp=wp@entry=0x7fffc9df6230) at ../src/nvim/screen.c:1403 3 0x00007f31460f011f in update_screen (type=<optimized out>) at ../src/nvim/screen.c:502 4 0x00007f3146138ef4 in normal_redraw (s=s@entry=0x7fffd0a5f700) at ../src/nvim/normal.c:1247 5 0x00007f314613b159 in normal_check (state=0x7fffd0a5f700) at ../src/nvim/normal.c:1324 6 0x00007f31460accfe in state_enter (s=0x7fffd0a5f700) at ../src/nvim/state.c:28 7 0x00007f3146143099 in normal_enter (cmdwin=<optimized out>, noexmode=<optimized out>) at ../src/nvim/normal.c:463 8 0x00007f314618b541 in main (argc=<optimized out>, argv=<optimized out>) at ../src/nvim/main.c:580
* deps: update libtermkey to 0.22 #11429Matthieu Coudron2019-11-28
|
* Merge #11428 'Update SNAP packaging'Justin M. Keyes2019-11-28
|\
| * snap: more yak-shavingJustin M. Keyes2019-11-28
| | | | | | | | | | | | | | - generate decryption step - skip job for PRs - remove transfer.sh support - deploy every (master) commit
| * snap: add snapcraft secrets to CICarlos Hernandez2019-11-28
| |
| * snap: add desktop file, iconCarlos Hernandez2019-11-28
| |
| * snap: add "snap" job to Travis CICarlos Hernandez2019-11-28
| |
| * snap: fix/update snap buildsCarlos Hernandez2019-11-28
|/ | | | | | | * rename to nvim * bump base to core18 * fix versioning, match binary * set prefix to /usr
* man.vim: remove K mapping #11472Rob Pilling2019-11-28
| | | | Since #11457 this mapping is no longer necessary. 'keywordprg' defaults to :Man in options.lua
* runtime: russian-jcukenwintype.vim keymap #11461Von Random2019-11-27
| | | Author: Denis Proskurin <danwerspb@gmail.com>
* doc: fix typosBrian Wignall2019-11-27
| | | | close #11459
* Merge #11467 from janlazo/vim-8.1.2345Justin M. Keyes2019-11-27
|\ | | | | vim-patch:8.1.{1252,1253,1254,1268,2345,2348,2349}
| * vim-patch:8.1.1268: map completion test fails in GUIJan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: Map completion test fails in GUI. Solution: Skip the test that fails. https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
| * vim-patch:8.1.1254: mapping completion contains dead codeJan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: Mapping completion contains dead code. Solution: Remove the code. https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
| * vim-patch:8.1.1253: mapping completion test failsJan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: Mapping completion test fails. Solution: Fix expected output. https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
| * vim-patch:8.1.1252: not all mapping completion is testedJan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: Not all mapping completion is tested. Solution: Add a few more mapping completion tests. https://github.com/vim/vim/commit/1776a28e9c7fd0236927f14e9df807e524b30721
| * vim-patch:8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: :lockvar and :unlockvar cannot be followed by "| endif". Solution: Check for following commands. (closes vim/vim#5269) https://github.com/vim/vim/commit/cc4423ae13d78367a3d0b5756783523d3b3a1d31
| * vim-patch:8.1.2348: :const cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | | | | | | | | | Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes vim/vim#5269) Also fix completion after :const. https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
| * vim-patch:8.1.2345: .cjs files are not recognized as JavascriptJan Edmund Lazo2019-11-26
| | | | | | | | | | | | Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes vim/vim#5268) https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3
* | man.vim: Improve ft=man 'iskeyword' #11457Rob Pilling2019-11-27
|/ | | | | | | | | | | | | | | | | This addresses a minor quality problem with the recent `'tagfunc'` changes for `man.vim` (see [link]). Currently, with the cursor on a parenthese, hitting `K` will jump us to the man page of the next mentioned entry, instead of the one to which the parenthese (or section number) belongs. ``` pcrepattern(3), terminfo(5), glob(7), regex(7). e.g. ^ e.g. ^ ``` Adding the parentheses to `'iskeyword'` means we correctly handle these cases too. [link]: https://github.com/neovim/neovim/pull/11280#discussion_r348342357
* Merge pull request #11445 from bfredl/fcslcsBjörn Linse2019-11-26
|\ | | | | options: make 'fillchars' and 'listchars' global-local instead of local-only
| * options: make 'fillchars' and 'listchars' global-localBjörn Linse2019-11-26
| | | | | | | | | | | | | | | | | | These options were previously global. A global-local window option behaves closer to a global option "per default" (i e with :set), but still supports local behavior via :setl Also this restores back-compat for nvim_set_option("fcs", ...) which are currently broken on 0.4.x but worked in earlier versions
* | Merge pull request #11466 from bfredl/luaoptBjörn Linse2019-11-26
|\ \ | | | | | | lua: make vim.wo and vim.bo used nested indexing for specified handle
| * | lua: make vim.wo and vim.bo used nested indexing for specified handleBjörn Linse2019-11-26
| | | | | | | | | | | | | | | Also missing option should be an error. Options are functionality, not arbitrary variable names (as for vim.g)
* | | Merge pull request #11464 from bfredl/luaexportBjörn Linse2019-11-26
|\ \ \ | |/ / |/| | cmake: enable exporting symbols from static libs again
| * | cmake: enable exporting symbols from static libs againBjörn Linse2019-11-26
|/ / | | | | | | | | | | | | | | | | Reverts the effect of disabling CMP0065 in ac32426 (#11131) "build: get rid of warnings with `cmake --debug-output`" We need symbols from statically linked libraries to be exported. Otherwise cpath lua modules will not find liblua/libluajit symbols as needed.
* | LSP: Move default buf callbacks to vim.lsp.callbacks (#11452)Ashkan Kiani2019-11-26
| | | | | | | | | | | | | | - In the process, refactored focusable_preview to a util function. - Add text for locations_to_items of the current line. - Improve location callback to handle multiple return values by using set_qflist. - Remove update_tagstack and leave note for future travelers.
* | UI: emit mouse_on/mouse_off on attach #11455Justin M. Keyes2019-11-25
| | | | | | closes #11372
* | [RFC] extmark: fix E315 in nvim_buf_set_extmark (#11449)notomo2019-11-25
| | | | | | | | | | extmark: need to use buf instead of curbuf
* | doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | | | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* | Merge #11454 from janlazo/vim-8.1.1732Justin M. Keyes2019-11-25
|\ \ | | | | | | vim-patch:8.1.{223,836,1732}
| * | vim-patch:8.1.0836: user completion test can fail on MS-WindowsJan Edmund Lazo2019-11-25
| | | | | | | | | | | | | | | | | | Problem: User completion test can fail on MS-Windows. Solution: Allow for other names befor "Administrator". https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94
| * | vim-patch:8.1.0223: completing shell command finds sub-directories in $PATHJan Edmund Lazo2019-11-25
| | | | | | | | | | | | | | | | | | Problem: Completing shell command finds sub-directories in $PATH. Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin) https://github.com/vim/vim/commit/6ab9e429da18f4d784222a9f7dfafb7c0218b7eb
| * | vim-patch:8.1.1732: completion in cmdwin does not work for buffer-local commandsJan Edmund Lazo2019-11-24
|/ / | | | | | | | | | | Problem: Completion in cmdwin does not work for buffer-local commands. Solution: Use the right buffer. (closes vim/vim#4711) https://github.com/vim/vim/commit/f03e328348f87e1fe8ce4aad2a6a4237b9f78ce3
* | Improve terminal close error message formatting (#11434)Ashkan Kiani2019-11-24
|\ \
| * | Fix terminal close error message formattingChuck2019-11-21
| | |
* | | vim-patch:8.1.0461: quickfix: change comment style #11453Jan Edmund Lazo2019-11-24
| | | | | | | | | | | | | | | Problem: Quickfix code uses too many /* */ comments. Solution: Change to // comments. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
* | | release.sh [ci skip]Justin M. Keyes2019-11-24
| | |
* | | Merge #11451 'man.vim: Fixes'Justin M. Keyes2019-11-24
|\ \ \
| * | | man.vim: Update maintainer emailAnmol Sethi2019-11-24
| | | |
| * | | man.vim: Hard wrap by defaultAnmol Sethi2019-11-24
| | | | | | | | | | | | | | | | Closes #11436
| * | | man.vim: Document how to disable bold highlightingAnmol Sethi2019-11-24
| | | | | | | | | | | | | | | | Closes #11435
* | | | man.vim: Ensure 'modifiable' in man#init_pager #11450Anmol Sethi2019-11-24
|/ / /
* | | Followup improvements to LSP (#11430)Ashkan Kiani2019-11-24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addressing things brought up in https://github.com/neovim/neovim/issues/11389 and beyond. - Bugfix for empty dictionary serialization. - Reduce markdown previews of code. - Refactor method triggers to `lsp.buf.*` methods - Switch to v:lua and get rid of vim interface. - Get rid of filetype config in favor of something from https://github.com/neovim/nvim-lsp - Switch error messages to something which doesn't require `ENTER` because if an LSP goes crazy, it'll block neovim. - Rename `builtin_callbacks` to `default_callbacks` - Resolve callback at time of calling using default_callbacks instead of at client creation - Make hover/signatureHelp preview focusable so you can mess with it. - Add vim.lsp.util.set_qflist and vim.lsp.util.set_loclist and vim.lsp.util.locations_to_items(). - Add apply_textedit and tests which enables a new class of features. - Fix column offsets in character and bytes in vim.lsp.buf to be correct. New methods: - Add textDocument/references under vim.lsp.buf.references() - Finish textDocument/rename - Finish textDocument/rangeFormatting and textDocument/format
| * | | Bring vim into local scopeAshkan Kiani2019-11-24
| | | |
| * | | Add support for textDocument/references.Ashkan Kiani2019-11-24
| | | | | | | | | | | | | | | | | | | | | | | | Add set_qflist and set_loclist. - Also add locations_to_items, which calculates byte offsets for character positions in files and avoids unnecessary operations.
| * | | Merge branch 'master' into lsp-followupAshkan Kiani2019-11-24
| |\ \ \ | |/ / / |/| | |
* | | | Lua: vim.env, vim.{g,v,w,bo,wo} #11442Ashkan Kiani2019-11-24
| |_|/ |/| | | | | | | | | | | | | | | | | | | | - Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo} - Redo gen_char_blob to generate multiple blobs instead of just one so that multiple Lua modules can be inlined. - Reorder vim.lua inclusion so that it can use previously defined C functions and utility functions like vim.shared and vim.inspect things. - Inline shared.lua into nvim, but also keep it available in runtime.
| * | Merge branch 'master' into lsp-followupAshkan Kiani2019-11-24
| |\ \ | |/ / |/| |
* | | vim-patch:8.1.1334: respect shortmess=F when buffer is hidden #11443Jan Edmund Lazo2019-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When buffer is hidden "F" in 'shortmess' is not used. Solution: Check the "F" flag in 'shortmess' when the buffer is already loaded. (Jason Franklin) Add test_getvalue() to be able to test this. https://github.com/vim/vim/commit/eda652215abf696f86b872888945a2d2dd8c7192 test_getvalue() is not implemented. It is only used for checking "need_fileinfo" internal variable.