Replies: 2 comments
This comment has been minimized.
This comment has been minimized.
-
you can make ftplugin to respect existence of if filereadable(".exrc")
finish
endif on top of local M={}
M.Your_config()
bal bla bla
bla bla bla
end
if vim.fn.filereadable(".exrc") == 1 then
return {}
else
return M
end |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
exrc
mode to set some project local settings. These settings get overriden if aftplugin
file is set for the current filetype. My usecase is that I've set a colorcolumn option inftplugin/python.lua
and I want to override that for a particular project. How can I go about that?Beta Was this translation helpful? Give feedback.
All reactions