aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.0.1587: inserting from the clipboard doesn't work literallyJan Edmund Lazo2020-03-01
| | | | | | Problem: inserting from the clipboard doesn't work literally Solution: When pasting from the * or + register always assume literally. https://github.com/vim/vim/commit/3324d0a86421a634572758dcfde917547f4d4c67
* pvs/v1048: variable was assigned same valueJan Edmund Lazo2020-03-01
|
* 'clang/Logic error': zero-init MarkTreeIter varsJan Edmund Lazo2020-03-01
|
* vim-patch:8.1.1510: a plugin cannot easily expand a command like done internallyJan Edmund Lazo2020-03-01
| | | | | | Problem: A plugin cannot easily expand a command like done internally. Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes vim/vim#4514) https://github.com/vim/vim/commit/80dad48c5095d30873a42ec82628bdb213125d8e
* man.vim: Handle `man` errors when looking for man-pathsRob Pilling2020-02-29
| | | | | | | | Fallback to simply globbing the tag we're given. This matches the original behaviour of `man.vim`, prior to c6afad78d39aa. fixes #11794 closes #11918
* Merge #11805 'vim-patch:8.1.0619'Justin M. Keyes2020-02-29
|\
| * vim-patch:8.1.0619: :echomsg and :echoerr do not handle List and DictJan Edmund Lazo2020-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. (Daniel Hahler) Solution: Be more tolerant about the expression result type. https://github.com/vim/vim/commit/461a7fcfce3cd6414f990037e6468af3b5ccf119 Add lua functional tests for :echo,:echon,:echomsg,:echoerr because nvim did not port "test_" functions from Vim that modify internal state. Testing :echoerr via try/catch is sufficient.
* | Merge pull request #11931 from h-michael/symbolMatthieu Coudron2020-03-01
|\ \ | |/ |/| [RDY] LSP support 'textDocument/documentSymbol’
| * lsp: add 'textDocument/documentSymbol’ callbackHirokazu Hata2020-03-01
| | | | | | | | Spec: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol
| * lsp: add bufnr to callback function argumentsHirokazu Hata2020-02-28
| | | | | | | | | | DocumentSymbol type doesn't have location field. So when we'll add 'textDocument/documentSymbol’ handler, we can't decide which file have we jump to.
* | win/l10n: add zh-* locale aliases #11963cyy2020-02-29
| |
* | deps: Fix luv-static build issues #11961erw72020-02-29
|/ | | | | | | | - Fix an issue where CMAKE_BUILD_TYPE was not reflected during construction. - Remove the switch that uses the static library(-MTd, -MT) because it was specified in the CMakeLists.txt of luv when building on MSVC. related: https://github.com/luvit/luv/pull/461
* Merge pull request #11910 from mfussenegger/references-ctxMatthieu Coudron2020-02-27
|\ | | | | LSP/references: Add context to locations returned by server
| * LSP: Remove diagnostic message handling in locations_to_itemsMathias Fussenegger2020-02-27
| | | | | | | | | | `locations_to_items` is for turning `Location[]` into items, not for `Diagnostic[]`
| * LSP/references: Add context to locations returned by serverMathias Fussenegger2020-02-27
|/ | | | | | | | | | | | | | | | | | | | | | This changes the `textDocument/references' callback to annotate the locations returned by the server with the content present at the locations range. The quickfix list then looks as follows: cr8/insert_fake_data.py|17 col 32| from .misc import parse_table, parse_version cr8/insert_fake_data.py|43 col 15| version = parse_version(r['rows'][0][0]) cr8/java_magic.py|8 col 22| from cr8.misc import parse_version cr8/java_magic.py|30 col 19| version = parse_version(fst) cr8/java_magic.py|33 col 16| return parse_version(version_str) Instead of: cr8/insert_fake_data.py|17 col 32| cr8/insert_fake_data.py|43 col 15| cr8/java_magic.py|8 col 22| cr8/java_magic.py|30 col 19| cr8/java_magic.py|33 col 16|
* Merge pull request #11880 from bfredl/tree-sitter-regexBjörn Linse2020-02-27
|\ | | | | add regex support in treesitter queries
| * lua: add regex support, and `@match` support in treesitter queriesBjörn Linse2020-02-26
| |
| * treesitter: redraw on changed queryBjörn Linse2020-02-26
| |
* | Add signs for Lsp diagnostics (#11668)Alvaro Muñoz2020-02-27
| | | | | | | | | | | | * Add signs for Lsp diagnostics * defer sign definition until init.vim is loaded
* | LSP/hover: Do not throw away contents if first line is empty (#11939)Mathias Fußenegger2020-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | haskell-ide-engine sends `hover` payloads as follows: { contents = { kind = "markdown", value = "\n```haskell\nfoo :: Either String (Integer, Text)\n```\n`foo` *local*" }, range = { end = { character = 5, line = 57 }, start = { character = 2, line = 57 } } } `value` starts with `\n`. The logic in `convert_input_to_markdown_lines` threw away the whole information.
* | add support to show diagnostics count in statusline (#11641)Alvaro Muñoz2020-02-26
| | | | | | | | | | * add support to show diagnostics count in statusline * documentation
* | LSP: implement documentHighlight (#11638)Alvaro Muñoz2020-02-26
|/ | | | | | | | * implement documentHighlight * fix bug * document highlight groups * use uppercase for help section title * documentation
* Merge pull request #11946 from bfredl/ts-syncBjörn Linse2020-02-26
|\ | | | | treesitter: update vendored tree-sitter runtime
| * treesitter: update vendored tree-sitter runtimeBjörn Linse2020-02-25
|/ | | | | | | | | | tree-sitter/tree-sitter commit 6cb8d24de2d99c4c50c9a0fd1e719ca5b3abc87f Included files are: lib/include/tree-sitter/*.h lib/src/*.[ch] lib/src/unicode/* LICENSE
* TUI: reset background color before scroll #11909Jakub Łuczyński2020-02-23
| | | fixes #11893
* Merge pull request #11890 from cryptomilk/master-gcc10-fno-commonBjörn Linse2020-02-23
|\ | | | | Fix issues revealed by gcc10 setting -fno-common by default
| * cmake: Check for -fno-common and use it if availableAndreas Schneider2020-02-23
| |
| * nvim: Correctly setup global channelsAndreas Schneider2020-02-23
| | | | | | | | | | | | | | | | | | As gcc10 uses -fno-common by default, global variables declared with the same name more than once is not allowed anymore revealing this issue. We need to define it as extern to access it. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
| * nvim:msgpack: Correctly set up global ch_before_blocking_eventsAndreas Schneider2020-02-23
| | | | | | | | | | | | | | gcc10 builds with -fno-common by default. This mean you can't define a global variable with the same name twice. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
| * nvim: Fix enum declaration of RemapValuesAndreas Schneider2020-02-23
| | | | | | | | | | | | | | | | | | | | | | Instead of declaring an enum, this creates a global variable. As gcc10 uses -fno-common by default, global variables declared with the same name more than once is not allowed anymore revealing this issue. Each time this header is included, we define the enum name as a global variable. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
| * nvim:viml: Fix enum declaration of ExprParserFlagsAndreas Schneider2020-02-23
| | | | | | | | | | | | | | | | | | | | | | Instead of declaring an enum, this creates a global variable. As gcc10 uses -fno-common by default, global variables declared with the same name more than once is not allowed anymore revealing this issue. Each time this header is included, we define the enum name as a global variable. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
| * nvim:eval: Fix enum declaration for ListLenSpecialsAndreas Schneider2020-02-23
| | | | | | | | | | | | | | | | | | | | | | Instead of declaring an enum, this creates a global variable. As gcc10 uses -fno-common by default, global variables declared with the same name more than once is not allowed anymore revealing this issue. Each time this header is included, we define the enum name as a global variable. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
* | Merge pull request #11934 from h-michael/restoreBjörn Linse2020-02-23
|\ \ | |/ |/| clang/scan-build: restore required code
| * clang/scan-build: restore required codeHirokazu Hata2020-02-23
| | | | | | | | ref: https://github.com/neovim/neovim/pull/11900#discussion_r381860165
* | CI/travis: workaround broken homebrewJustin M. Keyes2020-02-22
| | | | | | | | | | | | | | | | | | | | | | | | 6.70s$ rvm $brew_ruby do brew bundle --verbose --global /usr/local/bin/brew tap homebrew/bundle ==> Tapping homebrew/bundle Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'... Tapped (102 files, 251.1KB). Error: Unknown command: bundle https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/10 https://twitter.com/AJenbo/status/1175976531480457216
* | PVS/V618: fix printf-style args #11888Justin M. Keyes2020-02-22
|/ | | | We intentionally do not translate API errors. ref: https://github.com/neovim/neovim/issues/6150
* lsp/completion: show duplicates in completion popup #11920Mathias Fußenegger2020-02-21
| | | | | | | | | | | | | Allow duplicates so that in languages with overloaded functions it will show all signatures. E.g. instead of having a single (last one wins) add(int index, String element) It shows all signatures: add(String e) : boolean add(int index, String element) : void
* doc: LOG_CALLSTACK: mention "-no-pie" [ci skip]Jakub Łuczyński2020-02-21
| | | | close #11898
* Merge #11914 'vim-patch:8.1.{1122,1868}'Justin M. Keyes2020-02-20
|\
| * vim-patch:8.1.1122: char2nr() does not handle composing charactersJan Edmund Lazo2020-02-20
| | | | | | | | | | | | | | | | Problem: char2nr() does not handle composing characters. Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes vim/vim#4190) https://github.com/vim/vim/commit/9d40128afd7fcd038ff6532722b55b1a8c189ce8 'utf8' optional param is noop unlike Vim.
| * vim-patch:8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' setJan Edmund Lazo2020-02-20
|/ | | | | | | | Problem: Multibyte characters in 'listchars' don't work correctly if 'linebreak' is also enabled. (Martin Tournoij) Solution: Make it work correctly. (Christian Brabandt, closes vim/vim#4822, closes vim/vim#4812) https://github.com/vim/vim/commit/69cbbecf548f390197259ca30cfe147c3e59ce5a
* quickfix.c: Fix vimgrep regression #11907cballam2020-02-19
| | | | | | | Fix ex_vimgrep to properly ignore filetype when running vimgrep. This restores vimgrep to behaviour before function refactoring. fix #9842 fix #11856
* Merge pull request #11908 from bfredl/qf_msg-fixupBjörn Linse2020-02-19
|\ | | | | test: always use "set more" with :digraph test
| * test: always use "set more" with :digraph testBjörn Linse2020-02-19
|/ | | | otherwise we risk the same issue as with ex_cmds/digraphs_spec.lua
* Merge #11895 'lsp: fix textDocument/completion handling'Justin M. Keyes2020-02-18
|\
| * lsp: make functions private and use filter functionHirokazu Hata2020-02-19
| |
| * lsp: respect the sort order if there is sortTextHirokazu Hata2020-02-19
| |
| * lsp: fix textDocument/completion handlingHirokazu Hata2020-02-19
| | | | | | | | | | | | | | fix: #11826 Some lanuguage servers return complementary candidates whose prefixes do not match are also returned. So we exclude completion candidates whose prefix does not match. ex) Microsoft python-language-server, rust-analyzer
| * lua: move test helper function, map and filter, to vim.shared moduleHirokazu Hata2020-02-18
| |
* | clang/scan-build: fix dead stores #11900Hirokazu Hata2020-02-18
| |