mirror of https://github.com/dense-analysis/ale
omni: find last racket keyword for completion (#4293)
Otherwise it finds the first keyword, which is usually not relevant to the cursor position, and incorrectly calculates the completion position.
This commit is contained in:
parent
a83a3659ac
commit
e99f262c2f
|
@ -139,7 +139,7 @@ let s:should_complete_map = {
|
|||
" Regular expressions for finding the start column to replace with completion.
|
||||
let s:omni_start_map = {
|
||||
\ '<default>': '\v[a-zA-Z$_][a-zA-Z$_0-9]*$',
|
||||
\ 'racket': '\k\+',
|
||||
\ 'racket': '\k\+$',
|
||||
\}
|
||||
|
||||
" A map of exact characters for triggering LSP completions. Do not forget to
|
||||
|
|
Loading…
Reference in New Issue