Neovim
This guide assumes that you are already familiar with Neovims built-in package manager Pack, nvim-lspconfig and nvim-treesitter.
Prerequisites are that you have Ziggy installed and available in your $PATH.
The following is a complete Neovim configuration that:
- installs
nvim-lspconfigandnvim-treesitterplugins using Neovim’s built-in plugin manager; - enables the usage of Ziggy and Ziggy Schema language servers;
- and installs the corresponding Tree-sitter parser.
vim.pack.add{
{ src = 'https://github.com/neovim/nvim-lspconfig' },
{ src = 'https://github.com/nvim-treesitter/nvim-treesitter' }
}
vim.lsp.enable('ziggy')
vim.lsp.enable('ziggy_schema')
require('nvim-treesitter').install({ 'ziggy', 'ziggy_schema' })