nvim: added vls lsp
							parent
							
								
									d912e6750a
								
							
						
					
					
						commit
						b71acbc7ad
					
				| 
						 | 
				
			
			@ -36,6 +36,11 @@ require'lspconfig'.hls.setup{
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
-- Pacman: vieter-vls (requires my Vieter repository)
 | 
			
		||||
-- GH: https://github.com/vlang/vls
 | 
			
		||||
require'lspconfig'.vls.setup {
 | 
			
		||||
    cmd = {'vls'}
 | 
			
		||||
}
 | 
			
		||||
-- Pacman: rust-analyzer
 | 
			
		||||
-- GH: https://github.com/rust-analyzer/rust-analyzer
 | 
			
		||||
require'lspconfig'.rust_analyzer.setup{on_attach = on_attach}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,8 @@ g.NERDTreeIgnore = {
 | 
			
		|||
    '^\\.stack-work$[[dir]]', '\\.lock$',
 | 
			
		||||
    '^CMakeFiles$[[dir]]', '^CMakeCache.txt$[[file]]',
 | 
			
		||||
    '.pdf$[[file]]',
 | 
			
		||||
    '^node_modules$[[dir]]'
 | 
			
		||||
    '^node_modules$[[dir]]',
 | 
			
		||||
    '\\.o$'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
g.NERDTreeShowHidden = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,3 @@
 | 
			
		|||
local g = vim.g
 | 
			
		||||
 | 
			
		||||
g.v_autofmt_bufwritepre = 1
 | 
			
		||||
g.v_autofmt_bufwritepre = 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ g.mapleader = " "
 | 
			
		|||
g.maplocalleader = "\\<tab>"
 | 
			
		||||
 | 
			
		||||
-- I often use non-standard shells that don't play nicely wiht certain features
 | 
			
		||||
o.shell = "/bin/bash"
 | 
			
		||||
-- o.shell = "/bin/bash"
 | 
			
		||||
 | 
			
		||||
-- Centers your cursor whenever possible
 | 
			
		||||
-- 999 is just a really large number (I think it's amount of lines or something)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue