You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? (required: The issue will be closed when not provided)
I hit Ctrl+X Ctrl+O
What did you expect to happen?
I expected the autocompletion to complete the word.
What happened instead?
It appended the selection from OmniComplete after the existing text, instead of replacing the text. If you have a variable called pleaseCompleteMe, and write pleaseC and hit C+X C+O, you will successfully autocomplete to pleaseCpleaseCompleteMe
Configuration (MUST fill this out):
vim-go version:
vim-go 1.20-1
vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):
vimrc
source $VIMRUNTIME/defaults.vim
set mouse=""
set nu
set laststatus=2
set t_Co=256
set wildmode=longest,list
let g:powerline_pycmd = 'py3'
nnoremap
nnoremap
nnoremap
nnoremap
nnoremap :terminal %
set splitbelow
set splitright
set shiftwidth=2
set expandtab
set softtabstop=2
let g:indentLine_color_term = 239
let g:ansible_unindent_after_newline = 1
let g:go_auto_sameids = 1
let g:go_highlight_array_whitespace_error = 1
let g:go_highlight_chan_whitespace_error = 1
let g:go_highlight_extra_types = 1
let g:go_highlight_space_tab_error = 1
let g:go_highlight_trailing_whitespace_error = 0
let g:go_highlight_operators = 1
let g:go_highlight_functions = 1
let g:go_highlight_function_parameters = 1
let g:go_highlight_function_calls = 1
let g:go_highlight_types = 1
let g:go_highlight_fields = 1
let g:go_highlight_build_constraints = 1
let g:go_highlight_generate_tags = 1
let g:go_highlight_string_spellcheck = 1
let g:go_highlight_format_strings = 1
let g:go_highlight_variable_declarations = 1
let g:go_highlight_variable_assignments = 1
colorscheme pablo
I also think most of the highlights should be enabled by default. I used vim-go for months before figuring out it can do more cool highlighting.
gopls changed recently in a way that exposed a deficiency in vim-go's handling of its completion candidates. vim-go's master already includes a fix, #2291.
gopls changed recently in a way that exposed a deficiency in vim-go's handling of its completion candidates. vim-go's master already includes a fix, #2291.
Nice to see. Sorry for creating a duplicate ticket.
I guess this will be part of v1.21. When is it scheduled for release?
What did you do? (required: The issue will be closed when not provided)
I hit Ctrl+X Ctrl+O
What did you expect to happen?
I expected the autocompletion to complete the word.
What happened instead?
It appended the selection from OmniComplete after the existing text, instead of replacing the text. If you have a variable called
pleaseCompleteMe
, and writepleaseC
and hit C+X C+O, you will successfully autocomplete topleaseCpleaseCompleteMe
Configuration (MUST fill this out):
vim-go version:
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):vimrc
I also think most of the highlights should be enabled by default. I used vim-go for months before figuring out it can do more cool highlighting.
Vim version (first three lines from
:version
):vim 8.1.1616-1
Go version (
go version
):go version go1.12.6 linux/amd64
Go environment
go env
Output:The text was updated successfully, but these errors were encountered: