]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Use the current encoding for the completion popup menu. Fixes #352
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 4 Jul 2023 14:24:49 +0000 (07:24 -0700)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 4 Jul 2023 14:24:49 +0000 (07:24 -0700)
ftplugin/lspgfm.vim

index 14f46d16284b88f666984c3a945b8b5643c02213..73dfba8c0d3791440a92afbdc24f84ce871d978d 100644 (file)
@@ -16,7 +16,7 @@ endtry
 
 b:lsp_syntax = document.syntax
 md.list_pattern->setbufvar(bnr, '&formatlistpat')
-var settings = 'encoding=utf-8 linebreak breakindent breakindentopt=list:-1'
+var settings = 'linebreak breakindent breakindentopt=list:-1'
 win_execute(popup_id, $'setlocal {settings}')
 popup_id->popup_settext(document.content)