mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- Accommodating Ideavimrc with Jetbrains quirks
- VIM: New useful keymaps created - VIM: Config refactored for better portability to many NVim distros - NVim: Trials with LSP Autocompletion failed :(
This commit is contained in:
@@ -9,31 +9,30 @@
|
||||
-- Loads the system's Vim configs: keeps the VIM & NVim configs in sync
|
||||
local vimrc = vim.fn.stdpath("config") .. "/vim-sync.vim"
|
||||
if vim.loop.fs_stat(vimrc) then
|
||||
vim.cmd("source " .. vimrc)
|
||||
vim.cmd("source " .. vimrc)
|
||||
end
|
||||
|
||||
-- Setup Lazy.nvim package manager
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup("plugins", {
|
||||
change_detection = {
|
||||
enabled = true,
|
||||
notify = false
|
||||
},
|
||||
change_detection = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
},
|
||||
})
|
||||
|
||||
require("configs.autocommands")
|
||||
require("configs.configs")
|
||||
require("configs.keymaps")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user