diff options
-rwxr-xr-x | init.vim | 39 |
1 files changed, 5 insertions, 34 deletions
@@ -223,11 +223,15 @@ lspconfig.ccls.setup { require'lspconfig'.ccls.setup{} -- C++ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + +-- Haskell -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +require'lspconfig'.hls.setup{} +-- Haskell -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + -- Others -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- require'lspconfig'.ltex.setup{} -- Others -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- BEGIN -- Go -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- require'lspconfig'.gopls.setup{ cmd = { "gopls", "serve" }, @@ -244,39 +248,6 @@ require'lspconfig'.gopls.setup{ } -- END -- Go -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - --- local opts = { --- tools = { -- rust-tools options --- autoSetHints = true, --- hover_with_actions = true, --- inlay_hints = { --- type_hints = true, --- chaining_hints = true, --- show_parameter_hints = true, --- parameter_hints_prefix = "", --- other_hints_prefix = "", --- }, --- }, --- --- -- all the opts to send to nvim-lspconfig --- -- these override the defaults set by rust-tools.nvim --- -- see https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#rust_analyzer --- server = { --- -- on_attach is a callback called when the language server attachs to the buffer --- -- on_attach = on_attach, --- settings = { --- -- to enable rust-analyzer settings visit: --- -- https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/generated_config.adoc --- ["rust-analyzer"] = { --- -- enable clippy on save --- checkOnSave = { --- command = "clippy" --- }, --- } --- } --- }, --- } - require('rust-tools').setup({}) EOF |