Browse Source

fix: Lang config not loading in initial buffer.

my-config
connorgmeean 3 years ago
parent
commit
b8628bc600
  1. 3
      init.lua

3
init.lua

@ -28,4 +28,7 @@ vim.defer_fn(function()
then
vim.cmd("Dashboard")
end
-- Fix langs not starting on first file load
local ft = vim.bo.filetype
vim.cmd('doautocmd FileType ' .. ft)
end, 0)

Loading…
Cancel
Save