|  |  | @ -34,11 +34,9 @@ local cmp = require("cmp") | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities()) |  |  |  | local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities()) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | require("lspconfig").ts_ls.setup({}) |  |  |  | vim.lsp.config('ts_ls', {}) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | vim.lsp.config('clangd', {}) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | require("lspconfig").clangd.setup({}) |  |  |  | vim.lsp.config('gopls', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | require("lspconfig").gopls.setup({ |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 	cmd = { "gopls", "serve" }, |  |  |  | 	cmd = { "gopls", "serve" }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 	settings = { |  |  |  | 	settings = { | 
			
		
	
		
		
			
				
					
					|  |  |  | 		gopls = { |  |  |  | 		gopls = { | 
			
		
	
	
		
		
			
				
					|  |  | @ -49,11 +47,9 @@ require("lspconfig").gopls.setup({ | 
			
		
	
		
		
			
				
					
					|  |  |  | 		}, |  |  |  | 		}, | 
			
		
	
		
		
			
				
					
					|  |  |  | 	}, |  |  |  | 	}, | 
			
		
	
		
		
			
				
					
					|  |  |  | }) |  |  |  | }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | vim.lsp.config('pyright', {}) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | require'lspconfig'.pyright.setup{} |  |  |  | vim.lsp.config('rust_analyzer', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     cmd = { "rust-analyzer" }, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | require("lspconfig").rust_analyzer.setup({ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     --cmd = { "rustup", "run", "nightly", "rust-analyzer" }, |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     settings = { |  |  |  |     settings = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         ['rust-analyzer'] = {  |  |  |  |         ['rust-analyzer'] = {  | 
			
		
	
		
		
			
				
					
					|  |  |  |             checkOnSave = { |  |  |  |             checkOnSave = { | 
			
		
	
	
		
		
			
				
					|  |  | @ -66,12 +62,15 @@ require("lspconfig").rust_analyzer.setup({ | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | }) |  |  |  | }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | vim.lsp.config('kotlin-language-server', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | require('lspconfig').kotlin_language_server.setup({ |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     cmd = { "kotlin-language-server" }, |  |  |  |     cmd = { "kotlin-language-server" }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     filetypes = { "kotlin"} , |  |  |  |     filetypes = { "kotlin"} , | 
			
		
	
		
		
			
				
					
					|  |  |  | }) |  |  |  | }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.config('cmake', {}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.config('html', {}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.config('glsl_analyzer', {}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | require'nvim-treesitter.configs'.setup { |  |  |  | require'nvim-treesitter.configs'.setup { | 
			
		
	
		
		
			
				
					
					|  |  |  |   -- Install parsers synchronously (only applied to `ensure_installed`) |  |  |  |   -- Install parsers synchronously (only applied to `ensure_installed`) | 
			
		
	
		
		
			
				
					
					|  |  |  |   sync_install = false, |  |  |  |   sync_install = false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -87,19 +86,21 @@ require'nvim-treesitter.configs'.setup { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"ts_ls"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"clangd"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"gopls"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"pywright"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"rust_analyzer"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"kotlin-language-server"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"cmake"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"html"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | vim.lsp.enable({"glsl_analyzer"}) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( |  |  |  | vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( | 
			
		
	
		
		
			
				
					
					|  |  |  |       vim.lsp.diagnostic.on_publish_diagnostics, { |  |  |  |       vim.lsp.diagnostic.on_publish_diagnostics, { | 
			
		
	
		
		
			
				
					
					|  |  |  |         update_in_insert = true, |  |  |  |         update_in_insert = true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  | ) |  |  |  | ) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | require'lspconfig'.cmake.setup{} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | local capabilities = vim.lsp.protocol.make_client_capabilities() |  |  |  | local capabilities = vim.lsp.protocol.make_client_capabilities() | 
			
		
	
		
		
			
				
					
					|  |  |  | capabilities.textDocument.completion.completionItem.snippetSupport = true |  |  |  | capabilities.textDocument.completion.completionItem.snippetSupport = true | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | require'lspconfig'.html.setup { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   capabilities = capabilities, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | require'lspconfig'.glsl_analyzer.setup{} |  |  |  |  | 
			
		
	
	
		
		
			
				
					|  |  | 
 |