aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | 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.
* | | | | | | Merge #11431 from janlazo/vim-8.1.1235Justin M. Keyes2019-11-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:8.1.{471,723,1235,1490,1951,2183,2269,2329,2330}
| * | | | | | | vim-patch:8.1.0471: some tests are flaky or fail on some systemsJan Edmund Lazo2019-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests are flaky or fail on some systems. Solution: Increase waiting time for port number. Use "cmd /c" to execute "echo" on win32. (Ken Takata, closes vim/vim#3534) https://github.com/vim/vim/commit/453ce7c16b1001f23f2281b259176c6a00d82999
| * | | | | | | vim-patch:8.1.1951: mouse double click test is a bit flakyJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Mouse double click test is a bit flaky. Solution: Add to list of flaky tests. Update a couple of comments. https://github.com/vim/vim/commit/f1699968baf3619a4147b44c891ba4a0985e7656
| * | | | | | | vim-patch:8.1.2330: vi' does not always work when 'selection' is exclusiveJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: vi' does not always work when 'selection' is exclusive. Solution: Adjust start position. https://github.com/vim/vim/commit/94d9f4fa65bce6f116cf89bfdabdf5a06509056f
| * | | | | | | vim-patch:8.1.2329: mouse multiple click test is a bit flakyJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Mouse multiple click test is a bit flaky. Solution: Add it to the list of flaky tests. https://github.com/vim/vim/commit/44f0bd878ab6525eb50f2e05a13c0854164cdec2
| * | | | | | | vim-patch:8.1.2183: running a test is a bit verboseJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Running a test is a bit verbose. Solution: Silence some messages. (Daniel Hahler, closes vim/vim#5070) https://github.com/vim/vim/commit/ba089307bb8d18ab79a6c4a28ceb8419a72209b3
| * | | | | | | vim-patch:8.1.1490: when a single test fails the exit code is not setJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When a single test fails the exit code is not set. (Daniel Hahler) Solution: Add an exit command. (closes vim/vim#4506) https://github.com/vim/vim/commit/4e0bf846279f3efa6299a98143033db1fdfa143a
| * | | | | | | vim-patch:8.1.0723: cannot easily run specific test when in src/testdirJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot run specific test when in src/testdir the same was as in the src directory. Solution: Move build rule to src/testdir/Makefile. https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac Developer can omit '.res' suffix now. TEST_FILE=test_syntax make oldtest or make -C src/nvim/testdir test_syntax
| * | | | | | | vim-patch:8.1.2269: tags file with very long line stops using binary searchJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tags file with very long line stops using binary search. Solution: Reallocate the buffer if needed. https://github.com/vim/vim/commit/dc9ef26845c6bf5ba63bfa8d00fc8a9bdc3b2de5
| * | | | | | | vim-patch:8.1.1235: compiler warnings for using STRLEN() valueJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warnings for using STRLEN() value. Solution: Cast to int. (Christian Brabandt, Mike Williams) https://github.com/vim/vim/commit/c0af78fa0869d39314336faef36239f62f09e148
| | * | | | | | UI tweaks.Ashkan Kiani2019-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Hide diagnostics on client exit - Stop insert on popup focus. - Hide popup on insertchar (for signature_help)
| | * | | | | | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-23
| | |\ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #11382 from bfredl/extmark_bufhlBjörn Linse2019-11-23
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | use extmark adjustment for bufhl. use vim code for within-line adjustments.
| * | | | | | | tests: remove irrelevant timing infoBjörn Linse2019-11-23
| | | | | | | |
| * | | | | | | test was wrongBjörn Linse2019-11-23
| | | | | | | |
| * | | | | | | refactor: use inserted_bytes pattern from vimBjörn Linse2019-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This covers all "small" inserts and deletes in insert mode, as well as a few more cases like small normal mode deletes vim-patch:8.1.0678: text properties as not adjusted for inserted text
| * | | | | | | bufhl: use extmark column adjustment for bufhlBjörn Linse2019-11-23
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NB: this is not the final implementation. Bufhl should be made a part of the extmark tree, so that "start" adjustment just works automatically. But "stop" will still need some ad-hoc trickery, until extended marks natively support ranges (hopefully sooner than forever).
* | / / / / / Clear 'cc' in nvim_open_win 'minimal' style #11361 (#11427)Dennis B2019-11-22
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clear 'cc' in nvim_open_win 'minimal' style #11361 Add 'colorcolumn' to the list of options that should be cleared when creating a 'minimal'-style floating window.
| * | | | | Improve the character_offset code.Ashkan Kiani2019-11-22
| | | | | |
| * | | | | Improve performance of util.set_lines + bugfixAshkan Kiani2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also permit character_offset for col past the end of line (useful in range formatting).
| * | | | | Fix encoding translation in other places.Ashkan Kiani2019-11-21
| | | | | |
| * | | | | Remove comments.Ashkan Kiani2019-11-21
| | | | | |
| * | | | | Fix position params for encoding.Ashkan Kiani2019-11-21
| | | | | |
| * | | | | Account for character length in jump position.Ashkan Kiani2019-11-21
| | | | | |
| * | | | | lualintAshkan Kiani2019-11-21
| | | | | |
| * | | | | Fix hovers staying on bufhiddenAshkan Kiani2019-11-21
| | | | | |
| * | | | | UpdatesAshkan Kiani2019-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use correct implementation of text_edits. - Send indent options to rangeFormatting and formatting. - Remove references to vim bindings and filetype from lsp.txt - Add more examples to docs. - Add before_init to allow changing initialize_params.
| * | | | | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-21
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #11433 from bfredl/lspeolBjörn Linse2019-11-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | lsp: transmit "\n" after last line when 'eol' is set
| * | | | | | lsp: transmit "\n" after last line when 'eol' is setBjörn Linse2019-11-21
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Otherwise some servers like clangd will emit spurious "no newline at end of file" warnings.
* | | | | | Merge #11280 "man.vim: implement 'tagfunc'"Justin M. Keyes2019-11-20
|\ \ \ \ \ \
| * | | | | | Sort man pages by relevance during goto_tag()Rob Pilling2019-11-13
| | | | | | |
| * | | | | | Don't attempt swapfiles for man pagesRob Pilling2019-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is because we now use :tag to open a man page, which attempts to open a swap file for a path under man://...
| * | | | | | Remove eventignore - :Man now uses :tag to populate the pageRob Pilling2019-11-13
| | | | | | |
| * | | | | | man.vim: remove push_tag and simplify man#open_pageRob Pilling2019-10-29
| | | | | | |
| * | | | | | man.vim: parse the section from the tagRob Pilling2019-10-24
| | | | | | |
| * | | | | | man.vim: `:Man` preserves the tag stackRob Pilling2019-10-24
| | | | | | |
| * | | | | | man.vim: use 'tagfunc' instead of remappingRob Pilling2019-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | man#pop_tag() is also no longer used
| * | | | | | man.vim: pull out s:get_paths()Rob Pilling2019-10-24
| | | | | | |
* | | | | | | Merge #11426 from janlazo/vim-8.0.1449Justin M. Keyes2019-11-19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:8.0.{1449,1793}
| * | | | | | | vim-patch:8.0.1793: no test for "vim -g"Jan Edmund Lazo2019-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for "vim -g". Solution: Add a test for "-g" and "-y". https://github.com/vim/vim/commit/248be5c5de723c4e2715c574fd920b8b1a1dfebb
| * | | | | | | vim-patch:8.0.1449: slow redrawing with DirectXJan Edmund Lazo2019-11-19
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes vim/vim#2560) https://github.com/vim/vim/commit/a338adcf222b6a24e26ea5ae6a2ad27f914acb38
* | | / / / / deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 (#10292)Daniel Hahler2019-11-19
| |_|/ / / / |/| | | | | | | | | | | Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e