From aa79a6d024c5acd34b561f911df15d0f22e8c836 Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Thu, 2 Nov 2023 11:52:44 +0100 Subject: [PATCH] adding texlab to ycm --- vim/.vimrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 8801c69..e6c39bd 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -74,6 +74,13 @@ let g:cpp_attributes_highlight = 1 let g:ycm_always_populate_location_list = 1 let g:ycm_goto_buffer_command = "'split-or-existing-window'" let g:ycm_java_binary_path = "/usr/lib/jvm/java-17-openjdk/bin/java" +let g:ycm_language_server = [ + \ { + \ 'name': 'tex', + \ 'cmdline': ['texlab'], + \ 'filetype' : ['tex'] + \ } + \ ] " let g:completor_clang_binary = "/usr/bin/clang" "fold with space