You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short answer is no we do not plan to support a ginit.lua file. Lua support came after the UI, and ginit.vim was a legacy file from Vim so we never supported a ginit.lua file.
However you can configure the UI from your init.lua. For example here is my config to apply settings to nvim-qt only
-- Load UI settings when the UI attachesvim.api.nvim_create_autocmd({ "UIEnter" }, {
callback=function()
localchanid=vim.v.event.chan-- defer code here, otherwise get chan info will not return-- the data we need to determine the UIvim.defer_fn(function()
localname=vim.api.nvim_get_chan_info(chanid).client.name--print('UI attached', name, chanid)ifname=='nvim-qt' then-- nvim-qt specific settings-- Disable render attrvim.fn.execute('GuiRenderFontAttr 0')
-- enable GUI clipboard vim.api.nvim_call_function('GuiClipboard', {})
endend, 0)
end
})
Of course you can also change that code to load a ginit.lua file.
it seems like that the lua files is not available for nvim-qt, but my old configuaration files are all written by lua. What should I do to next?
The text was updated successfully, but these errors were encountered: