Compare commits

...

2 Commits

Author SHA1 Message Date
Andre Herniques
31013a5675 updated README 2023-06-12 15:57:28 +01:00
Andre Herniques
92b59a0b8f updated README 2023-06-12 13:23:09 +01:00

View File

@ -11,22 +11,29 @@ git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvi
To run LSP (autocomplete) you will also need the server for that language. To run LSP (autocomplete) you will also need the server for that language.
Currently, the languages servers that are configured are: Currently, the languages servers that are configured are:
- bash (bashls) - bash (bashls)[https://github.com/bash-lsp/bash-language-server]
- c/c++ (ccls) - c/c++ (ccls)[https://github.com/MaskRay/ccls]
- prisma (prismals) - prisma (prismals)[https://www.npmjs.com/package/@prisma/language-server]
- python (pylsp) - python (pylsp)[https://github.com/python-lsp/python-lsp-server]
- rust (rust_analyzer) - rust (rust_analyzer)
- svelte (sveltelsp) - svelte (sveltelsp)[https://github.com/sveltejs/language-tools]
- tex (ltex) - tex (ltex)[https://github.com/valentjn/ltex-ls]
- ts (tsserver) - ts (tsserver)[https://github.com/typescript-language-server/typescript-language-server]
- vlang (vls) - vlang (vls)[https://github.com/vlang/vls]
- zig (zls) - zig (zls)[https://github.com/zigtools/zls]
## Instalation
1. After installing neovim and packer clone this repo to `.config/nvim`.
2. Start up NeoVim and run `:PackerSycn`
3. Restart neovim
## Some useful shortcuts ## Some useful shortcuts
- ' f': Find files uses fuzzy finding to search for files in the folder you are currently are
- ' /': Search the files using grep - ' f': Find files uses fuzzy finding to search for files in the folder you are currently are
- '<C-F>': Open file structure - ' /': Search the files using grep
- 'gd': Goto definition - '<C-F>': Open file structure
- 'K': Show call signature - 'gd': Goto definition
- ']d': Goto next error - 'K': Show call signature
- '[d': Goto previous error - ']d': Goto next error
- '[d': Goto previous error