This repository contains the installation scripts for neovim, clangd, lazynvim the main goal is the availability of syntax suggestions and autocomplete for the C language when written using neovim editor.
-
System Architecture: x86_64,
-
Operating System: Linux(Suggested: Ubuntu),
-
Shell: Bash,
-
Packages: wget, unzip, git
-
First give execute permissions for the
clangd.shby executing the below command.chmod +x clangd.sh
-
Then, execute the installation script by running:
./clangd.sh
-
Add, the executable path to the
bashrc:echo export PATH="$HOME/clangd-22.1.6/bin:$PATH" >> ~/.bashrc source ~/.bashrc
-
Test installation:
clangd --version
-
First give execute permissions for the
nviminstall.shby executing the below command.chmod +x nviminstall.sh
-
Then, execute the installation script by running:
./nviminstall.sh
-
Add, the executable path to the
bashrc:echo export PATH="$HOME/.local/bin:$PATH" >> ~/.bashrc source ~/.bashrc
-
Test installation:
nvim --version
-
First give execute permissions for the
lazynvim.shby executing the below command.chmod +x lazynvim.sh
-
Then, execute the installation script by running:
./lazynvim.sh
-
Open
nvimand wait for the lazynvim packages to install.
As we installed clangd it shows suggestions for the C language only.
Whenever, we type in a .c file a suggest popup appears which may cantain many possible syntax statements.
Use
Tabfor to switch through all suggestions.
Shift + Tabfor previous suggestion.Press
Enterfor autocomplete.
This project is inspired by and references the Neovim, clangd, lazynvim projects:
This repository is not a fork and does not contain Neovim source code.
This repository contains the installation scripts for the clangd, neovim, and lazynvim. The main goal of this repo is to provide a guided installation for the neovim with Autocomplete and Suggest features.
Check LICENSE for more details.
Make sure to Star 🌟 the repo.
