vim: add pyls for lsp
This commit is contained in:
parent
7493517050
commit
9178efd506
3
.vimrc
3
.vimrc
@ -672,6 +672,7 @@ if v:version >= 800
|
|||||||
let g:LanguageClient_serverCommands = {
|
let g:LanguageClient_serverCommands = {
|
||||||
\ 'cpp': ['clangd', '-background-index',],
|
\ 'cpp': ['clangd', '-background-index',],
|
||||||
\ 'c': ['clangd', '-background-index',],
|
\ 'c': ['clangd', '-background-index',],
|
||||||
|
\ 'python': ['/usr/bin/pyls'],
|
||||||
\ }
|
\ }
|
||||||
let g:LanguageClient_loggingFile = expand('~/.LanguageClient.log')
|
let g:LanguageClient_loggingFile = expand('~/.LanguageClient.log')
|
||||||
" Could be debbuged with
|
" Could be debbuged with
|
||||||
@ -702,7 +703,7 @@ if v:version >= 800
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
augroup LSP
|
augroup LSP
|
||||||
autocmd FileType c,cpp call LC_maps()
|
autocmd FileType c,cpp,python call LC_maps()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -4,10 +4,10 @@ DOT_FILES=$(filter-out $(IGNORE_DOT_FILES), $(wildcard .*) .ssh/config $(wildcar
|
|||||||
DOT_INSTALLED=$(foreach dot, $(DOT_FILES), $(HOME)/$(dot))
|
DOT_INSTALLED=$(foreach dot, $(DOT_FILES), $(HOME)/$(dot))
|
||||||
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
PKG_ARCH_BASE=aspell-en aspell-fr conky cscope ctags dunst eog firefox noto-fonts-emoji fzf git gmrun gnome-terminal genius gvim hunspell-fr hyphen-en hyphen-fr lightdm numlockx openssh polkit-gnome python3 python-pynvim sudo tint2 tmux unrar unzip udevil zsh xclip openbox obconf
|
PKG_ARCH_BASE=aspell-en aspell-fr conky cmake cscope ctags dunst eog firefox noto-fonts-emoji fzf git gmrun gnome-terminal genius gvim hunspell-fr hyphen-en hyphen-fr lightdm numlockx openssh polkit-gnome python-language-server python3 python-pynvim sudo tint2 tmux unrar unzip udevil zsh xclip openbox obconf
|
||||||
PKG_ARCH_DEV=autopep8 bear cppcheck clang flake8 gcc hstr shellcheck strace gitk tig
|
PKG_ARCH_DEV=autopep8 bear cppcheck clang flake8 gcc hstr shellcheck strace gitk tig
|
||||||
|
|
||||||
PKG_UBUNTU_BASE=aspell-en aspell-fr conky cscope exuberant-ctags dunst eog firefox git gmrun gnome-terminal genius vim-gtk3 hunspell-fr hyphen-fr lightdm numlockx python3 sudo tint2 tmux unrar unzip udevil zsh openbox obconf
|
PKG_UBUNTU_BASE=aspell-en aspell-fr cmake conky cscope exuberant-ctags dunst eog firefox git gmrun gnome-terminal genius vim-gtk3 hunspell-fr hyphen-fr lightdm numlockx python3 sudo tint2 tmux unrar unzip udevil zsh openbox obconf
|
||||||
|
|
||||||
PKG_UBUNTU_DEV=bear cppcheck clang flake8 gcc shellcheck strace gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig clangd-10 clang-tools gitk tig android-sdk-platform-tools-common cmake-curses-gui git-lfs
|
PKG_UBUNTU_DEV=bear cppcheck clang flake8 gcc shellcheck strace gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig clangd-10 clang-tools gitk tig android-sdk-platform-tools-common cmake-curses-gui git-lfs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user