This commit is contained in:
Jef Roosens 2022-04-26 20:28:45 +02:00
commit 760cf7f833
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
13 changed files with 342 additions and 293 deletions

View file

@ -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}

View file

@ -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

View file

@ -1,3 +1,5 @@
require"nvim-treesitter.configs".setup {
highlight = { enable = true }
}
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
parser_config.v = {}

View file

@ -104,12 +104,6 @@ require('packer').startup(function(use)
-- LaTeX editing
use "lervag/vimtex"
-- V support
use {
"ollykel/v-vim",
config = [[require('config.v')]]
}
if packer_bootstrap then
require('packer').sync()
end

View file

@ -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)
@ -55,3 +55,4 @@ o.updatetime = 250
o.shelltemp = false
-- o.completeopt = "menuone,noselect"
vim.cmd([[autocmd BufRead,BufNewFile *.v,*.vsh setlocal filetype=v]])