From 993df94795075250072618977b1ba84b43d38f37 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Fri, 24 Feb 2023 15:50:39 +0100 Subject: nvim: drop comments --- .config/nvim/lua/setup/lspconfig.lua | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to '.config/nvim/lua/setup') diff --git a/.config/nvim/lua/setup/lspconfig.lua b/.config/nvim/lua/setup/lspconfig.lua index 2c894fe..c76ef2d 100644 --- a/.config/nvim/lua/setup/lspconfig.lua +++ b/.config/nvim/lua/setup/lspconfig.lua @@ -1,15 +1,7 @@ --- require("nvim-lsp-installer").setup {} local lspconfig = require("lspconfig") local function on_attach() vim.cmd("doautocmd User lspAttached") - - -- vim.cmd([[ - -- augroup Format - -- au! * - -- au BufWritePre lua vim.lsp.buf.formatting_sync() - -- augroup END - -- ]]) end lspconfig.lua_ls.setup { @@ -23,21 +15,6 @@ lspconfig.lua_ls.setup { } } --- lspconfig.hls.setup { --- on_attach = on_attach, --- filetypes = { 'haskell', 'lhaskell', 'cabal' }, --- } - -lspconfig.bashls.setup { - on_attach = on_attach, -} - --- lspconfig.omnisharp.setup { --- cmd = { "/usr/bin/omnisharp", "--languageserver" , "--hostPID", tostring(vim.fn.getpid()) }, --- on_attach = on_attach, --- -- use_mono = true, --- } - local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } for type, icon in pairs(signs) do local hl = "DiagnosticSign" .. type -- cgit v1.2.3-70-g09d2