Our great sponsors
-
mason.nvim
Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
-
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.
if has('nvim') " Helps install LSP servers https://github.com/williamboman/mason.nvim " This is the quick start option and will useful if you need other LSP " servers too. packadd mason.nvim " Configures LSP servers with sane defaults https://github.com/neovim/nvim-lspconfig packadd nvim-lspconfig " This enables the mason.nvim plugin " using the :Mason command will pull up a GUI to manage LSP servers lua require("mason").setup {} " Sending some optional configuration options to the LSP server. Not required, but this is how " you can do things like overriding the formatting provider, passing a debug flag, etc lua require'lspconfig'.hls.setup{ settings = { haskell = { formattingProvider = "fourmolu" } } } " Not required, but these plugins help with quality of life packadd popup.nvim packadd plenary.nvim packadd telescope.nvim " Configure completion https://vim-jp.org/vimdoc-en/insert.html#compl-omni set omnifunc=v:lua.vim.lsp.omnifunc endif
if has('nvim') " Helps install LSP servers https://github.com/williamboman/mason.nvim " This is the quick start option and will useful if you need other LSP " servers too. packadd mason.nvim " Configures LSP servers with sane defaults https://github.com/neovim/nvim-lspconfig packadd nvim-lspconfig " This enables the mason.nvim plugin " using the :Mason command will pull up a GUI to manage LSP servers lua require("mason").setup {} " Sending some optional configuration options to the LSP server. Not required, but this is how " you can do things like overriding the formatting provider, passing a debug flag, etc lua require'lspconfig'.hls.setup{ settings = { haskell = { formattingProvider = "fourmolu" } } } " Not required, but these plugins help with quality of life packadd popup.nvim packadd plenary.nvim packadd telescope.nvim " Configure completion https://vim-jp.org/vimdoc-en/insert.html#compl-omni set omnifunc=v:lua.vim.lsp.omnifunc endif
[2]: https://github.com/leksah/leksah