added nvim debug autoload for project sepcific configs
parent
95a3a82346
commit
41993e4393
6
init.lua
6
init.lua
|
@ -509,6 +509,12 @@ local luasnip = require 'luasnip'
|
|||
require('luasnip.loaders.from_vscode').lazy_load()
|
||||
luasnip.config.setup {}
|
||||
|
||||
-- local nvim config (project level, debug mapping etc.)
|
||||
local local_config = vim.fn.getcwd() .. "/.nvim.lua"
|
||||
if vim.fn.filereadable(local_config) == 1 then
|
||||
dofile(local_config)
|
||||
end
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
||||
|
|
Loading…
Reference in New Issue