From 49aba391f0bcf2a4bd04d59a6795ff1f62e01a36 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 22 May 2022 23:12:32 +0300 Subject: nvim: impatient & sleuth --- .config/nvim/init.lua | 2 ++ .config/nvim/lua/plugins.lua | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index cd20fc3..2dacd0b 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -11,6 +11,8 @@ -- │ ▘▝▀▘▝▀▘│ -- └────────┘ +require('impatient') + require('plugins') require('settings') require('plugin_settings') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index a217616..ba5ae0b 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -9,6 +9,11 @@ return require('packer').startup(function() -- packer can manage itself use 'wbthomason/packer.nvim' + -- improve startup time + -- remove when merged + -- https://github.com/neovim/neovim/pull/15436 + use 'lewis6991/impatient.nvim' + -- latex suite use {'lervag/vimtex', ft = {'tex', 'latex', 'plaintext'}} @@ -151,4 +156,6 @@ return require('packer').startup(function() use 'numToStr/Comment.nvim' -- asynchronous build and test dispatcher use {'tpope/vim-dispatch', opt = true, cmd = {'Dispatch', 'Make', 'Focus', 'Start'}} + -- automatically adjust 'shiftwidth' and 'expandtab' + use 'tpope/vim-sleuth' end) -- cgit v1.2.3-70-g09d2