Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
mason.nvim
Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
nvim-lspconfig, nvim-treesitter, and lsp_signature.nvim using my distribution's package manager (not sure if I need the last one, though). Treesitter works with my minimal config and highlights all code as expected, and for LSP I have the :Lsp... commands so the plugin gets loaded - but I can't find a way to configure it.
[various vim.opt.xyz settings that all work as expected] -- Treesitter -- -- Installed: neovim-nvim-treesitter -- Git: https://github.com/nvim-treesitter/nvim-treesitter require'nvim-treesitter.configs'.setup { ensure_installed = { "c", "lua", "vim", "help" }, sync_install = false, auto_install = true, ignore_install = {}, highlight = { enable = true, disable = {}, additional_vim_regex_highlighting = false, } }
Unfortunately lsp-config doesn't come out of the box with a drop-down or completion, you need other plugins for that, the most popular is https://github.com/hrsh7th/nvim-cmp
Another option is to just download https://github.com/neoclide/coc.nvim Which is basically a one stop shop for completion, and it's pretty fast, it just uses nodejs instead of built in nvim lua functions.
For a simple completion plugin you can try mini.completion. The wiki in lspconfig also offers other alternatives: lspconfig autocompletion.
nvim-lspconfig, nvim-treesitter, and lsp_signature.nvim using my distribution's package manager (not sure if I need the last one, though). Treesitter works with my minimal config and highlights all code as expected, and for LSP I have the :Lsp... commands so the plugin gets loaded - but I can't find a way to configure it.
-- need to install https://github.com/hrsh7th/cmp-nvim-lsp for server in pairs(servers) do lspconfig[server].setup { on_attach = on_attach, capabilities = require("cmp_nvim_lsp").default_capabilities(), settings = servers[server], } end ```
If you do end up wanting more plugins, https://github.com/williamboman/mason.nvim is a plugin that can install language servers automatically and it's widely used these days.