vim: big update
- removed unnecessary plugins - moved to lsp - added vimrc
This commit is contained in:
parent
4734cdd00b
commit
90b6fb2b80
5 changed files with 39 additions and 20 deletions
17
.config/nvim/init.lua
Normal file
17
.config/nvim/init.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue