| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Similar to signcolumn, allow foldcolumn to adapt itself to the number of
folds.
Regression:
vim supports a maximum fdc of 12, this limits it to 9.
|
|\
| |
| | |
LSP/references: Add context to locations returned by server
|
| |
| |
| |
| |
| | |
`locations_to_items` is for turning `Location[]` into items, not for
`Diagnostic[]`
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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|
|
|\
| |
| | |
add regex support in treesitter queries
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Add signs for Lsp diagnostics
* defer sign definition until init.vim is loaded
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
* documentation
|
|/
|
|
|
|
|
|
| |
* implement documentHighlight
* fix bug
* document highlight groups
* use uppercase for help section title
* documentation
|
|\
| |
| | |
treesitter: update vendored tree-sitter runtime
|
|/
|
|
|
|
|
|
|
|
| |
tree-sitter/tree-sitter commit 6cb8d24de2d99c4c50c9a0fd1e719ca5b3abc87f
Included files are:
lib/include/tree-sitter/*.h
lib/src/*.[ch]
lib/src/unicode/*
LICENSE
|
|
|
| |
fixes #11893
|
|\
| |
| | |
Fix issues revealed by gcc10 setting -fno-common by default
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
clang/scan-build: restore required code
|
| |
| |
| |
| | |
ref: https://github.com/neovim/neovim/pull/11900#discussion_r381860165
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
We intentionally do not translate API errors.
ref: https://github.com/neovim/neovim/issues/6150
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
close #11898
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix ex_vimgrep to properly ignore filetype when running vimgrep.
This restores vimgrep to behaviour before function refactoring.
fix #9842
fix #11856
|
|\
| |
| | |
test: always use "set more" with :digraph test
|
|/
|
|
| |
otherwise we risk the same issue as with ex_cmds/digraphs_spec.lua
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move uv_stop(), it still causes a "leak" on exit somehow.
- Tenatively restore `UV_RUN_DEFAULT`. It shouldn't hang since we
clobber the handles via `uv_walk((h)=>uv_close(h))`. Although this
still "leaks" on exit, it's faster than the 2-second timeout.
fix #11820
fix #7376
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Call uv_stop().
- Restore `uv_loop_close` condition (braindead cosmetic change from
a2efc9cf8b0f that caused uv_loop_close *not* to be called if
wait=false, sorry).
Not doing `uv_walk(() => uv_close)`: see source comment for explanation.
fix #11820
fix #7376
Q: Should we restore use of `UV_RUN_DEFAULT`/`UV_RUN_ONCE` (removed in
a2efc9cf8b0f)?
A: The while-loop (hopefully) achieves the same purpose while avoiding
a hang.
|
|
|
|
|
| |
never UV_RUN_DEFAULT
ref #11820
ref #7376
|
|
|
|
|
| |
Whenever `eq()`, `ok()`, etc. fails, include log tail in the failure
message. This helps to correlate log messages with a particular test
failure.
|
|\
| |
| | |
vim-patch:8.0.1660,8.1.{43,786,1201,2129,2131,2187,2223,2259},8.2.{241,267}
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No check for a following command when calling a function fails.
Solution: Also check for a following command when inside a try block.
(closes vim/vim#5642)
https://github.com/vim/vim/commit/e51bb17dd0d51384375830ee2a1df30c08121443
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes vim/vim#2966,
closes vim/vim#2947)
https://github.com/vim/vim/commit/7580849df9d6c7c515f5ed784019336d8a8ec0f0
|
| |
| |
| |
| |
| |
| | |
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
https://github.com/vim/vim/commit/333b80acf3a44e462456e6d5730e47ffa449c83d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
https://github.com/vim/vim/commit/725310d89e1ba268bf410472b7de054c6c260161
|