added nvim debug autoload for project sepcific configs

main
Mathias Rothenhaeusler 2025-03-16 12:23:57 +01:00
parent 95a3a82346
commit 41993e4393
1 changed files with 6 additions and 0 deletions

View File

@ -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