Emille1723 / nvim

Neovim cofiguration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neovim Configuration

FeaturesRequirementsFontInstallationConfigurationPluginsWiki

🌟 Preview

p2 p3 p4 p1 p5 p6 p7

With transparent background

tr1 tr2 tr3

How you can set transparent background is explained in the Wiki

✨ Features

⚡️ Requirements

  • Neovim >= 0.8.0
  • Git >= 2.19.0
  • a Nerd Font (optional)

🔠 Used Font

  • Cascadia Code - A new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Terminal.

🛠️ Installation

Linux / MacOS (Unix)

Make a backup of your current nvim and shared folder

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak

Go to your .config folder

cd ~/.config

Clone the Repository

git clone https://github.com/ilias777/nvim.git

Remove .git folder and add your own repo if you want

rm -rf ~/.config/nvim/.git

Navigate to nvim folder and open init.lua with Neovim

cd nvim
nvim init.lua

📺 Preview installation process

Neovim-Installation.mp4

Notes

If you see the Treesitter installing the parser messages, press Enter to skip these.

At the first time the Command MasonUpdate is not found. Please wait about 2 minutes for the language server installation to finish. When all language servers are installed, restart Neovim.

⚙ Configuration

How to configure Neovim is explained in the Wiki

🔌 Plugins

  • Over 70 Plugins preinstalled
  • Startuptime ~100ms - ~130ms
startup

Plugins List

Package Manager

File Explorer

  • nvim-tree - A simple and fast file explorer tree.

Plugins for LSP

  • nvim-lspconfig - Configurations for the LSP client.
  • mason - Install and manage LSP servers.
  • mason-lspconfig - Bridge between mason and lsp-ocnfig.
  • trouble.nvim - A pretty diagnostics, references, telescope results, quickfix and location list.
  • inc-rename.nvim - Incremental LSP rename command.
  • nvim-jdtls - Extensions for the built-in LSP support for eclipse.jdt.ls.

Autocompletion

Formatter and linter

  • null-ls - Language server to inject LSP diagnostics, code actions, and more via Lua.

Colorscheme

Snippet Engine

Tabline and Statusline

Motion

Git integration

  • diffview.nvim - Interface for easily cycling through diffs.
  • gitsigns - Git integration: signs, hunk actions, blame, etc.
  • neogit - A Magit clone for Neovim

Utils

Treesitter

Telescope

Comments

Degub Adapter Protocol

Writing

  • vimtex - A modern Vim and Neovim filetype and syntax plugin for LaTeX files.

Preinstalled Language Servers

Language Server Description Programming Language
cssls Language services for CSS, LESS and SCSS CSS
emmet_ls Emmet support based on LSP HMLT - CSS
html Language services for HTML HTML
jsonls JSON language service JSON
jdtls Java language server Java
tsserver TypeScript & JavaScript Language Server JavaScript
ltex Grammar checking of various markup languages LaTex, Markdown
texlab Language Server Protocol for LaTeX Latex
lua_ls A language server that offers Lua language support Lua
intelephense PHP language server PHP
pyright Static Type Checker for Python Python
rust_analyzer Rust compiler Rust
volar High-performance Vue language tooling based-on Volar.js Vue
yamlls Language Server for YAML Files YAML

About

Neovim cofiguration


Languages

Language:Lua 100.0%