1
0

feat: add plugin autosource

This commit is contained in:
Rokas Puzonas 2021-11-03 12:04:54 +02:00
parent e4cf031477
commit b18f77d679
3 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,3 @@
local user = os.getenv("USER")
vim.g.autosource_hashdir = '/home/'..user..'/.cache/vim-autosource/hashes'

View File

@ -40,10 +40,6 @@ opt('clipboard', 'unnamedplus')
-- Amount of time after which while typing mapping will be canceled -- Amount of time after which while typing mapping will be canceled
opt('timeoutlen', 300) opt('timeoutlen', 300)
-- Load external project specific configs
opt('exrc', true)
opt('secure', true)
-- How whitespace characters should be displayed -- How whitespace characters should be displayed
opt('listchars', [[space:.,eol:$,tab:>-]]) opt('listchars', [[space:.,eol:$,tab:>-]])

View File

@ -167,6 +167,9 @@ local function usePlugins(use, use_rocks)
-- Status line and tab line -- Status line and tab line
use { 'itchyny/lightline.vim', config = [[require 'config.lightline']]} use { 'itchyny/lightline.vim', config = [[require 'config.lightline']]}
-- Load project specific settings from exrc
use { 'jenterkin/vim-autosource', config = [[require 'config.autosource']] }
end end
-- Register custom commands for plugin manager -- Register custom commands for plugin manager