Open imochoa opened 4 years ago
sudo apt-get install llvm and sudo apt-get install clang
something like that... https://clangd.llvm.org/installation.html
sudo apt-get install clangd-9 sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-9 100
IN!
mkdir -p ~/.config/nvim/pack/minpac/opt/minpac
git clone https://github.com/k-takata/minpac.git ~/.config/nvim/pack/minpac/opt/minpac
IN!
sudo update-alternatives --install /usr/bin/neovim editor ~/Applications/nvim.appimage 100
sudo update-alternatives --config editor
Or nvim?
Put in ~/.local/share/applications/neovim.desktop
https://github.com/neovim/neovim/blob/master/runtime/nvim.desktop
plus:
[Desktop Entry]
Name=Neovim
Comment=Edit TEX files
Exec=texstudio %f
Terminal=false
Type=Application
Icon=texstudio
Categories=TextEditor;
StartupNotify=true
MimeType=text/x-text;
plus https://www.reddit.com/r/neovim/comments/9rjab6/open_with_neovim_doesnt_work/
Update the DB
sudo update-desktop-database
To update with minpac from the command line, use:
nvim +"packadd minpac | call minpac#init() | call minpac#update()"
That way it doesn't depend on having the same vimrc config
CoC requires: sudo snap install node --classic --channel=8