-
-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Description
Hey there!
I started testing out oil.vim and noticed that switching to that from netrw, that rails isn't detected. This is the work around I used and I'm curious if:
- It could be better?
- Is it worth adding to the plugin?
I'm thinking "No" on 2. But still curious on 1. If anything posting here leaves a paper trail for someone else that might encounter the same issue.
vim.api.nvim_create_autocmd("User", {
pattern = "OilEnter",
callback = function()
if vim.cmd("call RailsDetect(getcwd())") then
vim.cmd("call rails#buffer_setup()")
end
end,
})Metadata
Metadata
Assignees
Labels
No labels