Skip to content

Fildo7525/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvimLua

The links are pasted here as full links. Some browsers might not be able to open them. If you are using a browser that does not support the links, you can copy the link and paste it into the address bar.

Table of Contents:

Language Files Blank Comment Code
Lua 72 384 474 2758
JSON 2 0 0 130
YAML 1 0 1 114
Markdown 1 33 0 60
Vim Script 1 8 21 33
SUM: 77 425 496 3095

Compatibility

nvim version >= 0.7
There is a specific branch for every branch from version 0.7.2. From version 0.11 (prerelease) I started using bob, (https://github.com/MordechaiHadad/bob) command for nvim version management. The version is included in the tags of the releases if they changed. Otherwise you can find the neovim releases on https://github.com/neovim/neovim/releases

Startup

git clone [email protected]:Fildo7525/nvim.git
mv nvim/ ~/.config/

Open the config for the first time and install all the plugins

optional Latex

If you want to setup latex with tree-sitter:

sudo npm install --save-dev tree-sitter-cli
echo 'export PATH="\$PATH:$HOME/node_modules/.bin"' >> ~/.zshrc

setup guide here


Dependencies

NerdFonts

Download Nerdfont from https://www.nerdfonts.com/font-downloads unzip it delete all unneccessery files (If you are on linux delete everything containing Windows). Move the remaining files to /usr/share/fonts so everyone can use them or to ~/.fonts for your own usage.

Other

If you have any other unmet dependencies you can see them after invoking command :checkhealth


Lsp

The custom lsp configurations are located in lua/usr/lsp/settings/ If you do no want to / need to change the confugration you can just install the servers using Mason command the default configuration from mason-lspconfig will be used.

To use the LSP's type :Mason and install given servers

C++

To use lsp for c/cpp/objc download clangd, clangd-format, and clang-tidy using your package manager The formating standard is based on WebKit (tabsize - 4, strictly using tabs)


DAP

DAP is currently supported for C/C++, bash, python3, lua Use Mason to install the debuggers. The configuration files are located in lua/usr/DAP/


Spelling

If the spell file you are looking for in not downloaded by neovim automaticly head to the server https://ftp.nluug.nl/vim/runtime/spell/ and download it manually to ~/.config/nvim/spell/. This will fix the issue.

Markdown

For the markdown ftplugins to work there are requirements

sudo apt install luarocks
sudo luarocks install luasocket htmlparser luasec html-entities
luarocks path >> ~/.zshrc