added more capabilities to my nvim setup
This commit is contained in:
@@ -106,3 +106,11 @@ autocmd("FileType", {
|
||||
vim.opt_local.spell = true
|
||||
end,
|
||||
})
|
||||
|
||||
autocmd("DirChanged", {
|
||||
callback = function()
|
||||
if vim.fn.filereadable(".devcontainer/devcontainer.json") == 1 then
|
||||
vim.notify("Devcontainer detected", vim.log.levels.INFO)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user