From 605cb06d0e9b8fa057c33791187210c0bdfd09d9 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 31 Jul 2022 23:29:54 -0400 Subject: [PATCH] Edit page Nwiz --- Nwiz | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Nwiz b/Nwiz index 4f81e37..9c9e5ac 100644 --- a/Nwiz +++ b/Nwiz @@ -61,7 +61,17 @@ Any time you edit the list of plugins, run ##:PackerSync## to install, uninstall === Language Servers === -TODO +Neovim 0.7 comes with a built-in LSP client. The official [[https://github.com/neovim/nvim-lspconfig | nvim-lspconfig]] +plugin abstracts the details of spawning the correct Language Server for a multitude of filetypes. + +Download and installation of language servers can be managed automatically by +[[https://github.com/williamboman/nvim-lsp-installer | nvim-lsp-installer]], but I find that it's +simpler (and much safer!) to install the already packaged ones from Linux distro. This also ensures +that they stay aligned with the system toolchain. + + * Rust: rust-analyzer + * C++: clangd + * Python: python-lsp-server (which uses mypy, pylint, autopep8...) === Treesitter syntax parsers === @@ -73,4 +83,19 @@ For instance, I installed these: :TSInstall cpp rust lua python bash vim }}} -You can refresh your parsers at any time with ##:TSUpdate## \ No newline at end of file +You can refresh your parsers at any time with ##:TSUpdate## + +=== Semantic completion === + +Just press TAB! + +TODO: docs for [[https://github.com/hrsh7th/nvim-cmp#readme | cmp-nvim]] + + +=== Finding and opening files === + +TODO: docs for [[https://github.com/nvim-telescope/telescope.nvim | telescope.nvim]] + +=== Realtime diagnostics and hints === + +TODO: document -- 2.25.1