Merge branch 'master' of https://git.rustybever.be/Chewing_Bever/dotfiles
This commit is contained in:
commit
760cf7f833
13 changed files with 342 additions and 293 deletions
|
|
@ -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,5 @@
|
|||
require"nvim-treesitter.configs".setup {
|
||||
highlight = { enable = true }
|
||||
}
|
||||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
parser_config.v = {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue