siduck76 / neovim-dots
- вторник, 16 марта 2021 г. в 00:27:25
my neovim configs
The config is complete but still work in progress as I am new to lua and slowly learning vim stuffs. I'll keep adding new features like snippets etc and clean the config , make neovim (cli version) as functional as an IDE while being eyecandy.
This tiny plugin adds vscode-like pictograms to neovim built-in lsp completion items :
fast file tree :
A fuzzy file finder, picker, sorter, previewer and much more:
fastest statusline plugin I've used so far:
Shows git signs of a repo on the signcolumn to indicate diffs/changes etc (needs plenary.nvim)
As a top bufferline like thing which lets me handle tabs like switching, closing tabs.
Lua fork of vim devicons which lets me change icons of filetypes
Better syntax highlighting for programming languages ( my config just has html,css,js support for now ).
git clone https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
sudo npm install -g vscode-html-languageserver-bin typescript typescript-language-server vscode-css-languageserver-bin prettier
To setup any language server , follow this guide https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md and search up the needed LSP. For example if I needed clangd's lsp server :
I'd install it first and add its setup line : `` -- in /lua/nvim-lspconfig/lua.lua file
require'lspconfig'.clangd.setup{} ``
space is the leader key
if you get any errors with packer.nvim , then remove the ~/.config/nvim/plugin/packer_nvim.vim file since it just has file paths for my system and re-install packer.nvim