vim: big update

- removed unnecessary plugins
- moved to lsp
- added vimrc
This commit is contained in:
Tobias Schmidl 2024-10-22 10:07:49 +02:00
parent 4734cdd00b
commit 90b6fb2b80
5 changed files with 39 additions and 20 deletions

17
.config/nvim/init.lua Normal file
View file

@ -0,0 +1,17 @@
vim.o.termguicolors = true
vim.opt.runtimepath:append("~/.vim")
vim.opt.runtimepath:append("~/.vim/after")
vim.opt.packpath:append(vim.opt.runtimepath)
vim.cmd('source ~/.vimrc')
require("formatter").setup()
require("mason").setup()
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers {
function (server_name)
require("lspconfig")[server_name].setup{}
end
}
local ok, _ = pcall(require, 'schtobia')
if not ok then
print("No custom.lua found")
end