🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

autocmds: allow editing local help files

robin 2e25cfd6 1b269150

+14
+14
config/lua/ivy/config/autocmds.lua
··· 36 36 vim.fn.mkdir(dir, "p") 37 37 end 38 38 end) 39 + 40 + vim.augroup("editor:ft:help", true)("FileType", "help", { 41 + desc = "allow editing local help files", 42 + }, function(ev) 43 + if vim.fs.relpath(vim.fn.getcwd(), vim.fn.bufname(ev.buf)) then 44 + vim._with({ buf = ev.buf }, function() 45 + vim.bo.buftype = "" 46 + vim.bo.readonly = false 47 + vim.bo.modifiable = true 48 + -- assuming there is only one window with the open buffer 49 + vim.wo.conceallevel = 0 50 + end) 51 + end 52 + end)