Browse Source

fix: typos in init.lua

my-config
Vhyrro 3 years ago
parent
commit
a3003eb3c1
  1. 4
      init.lua

4
init.lua

@ -14,7 +14,6 @@ vim.g.start_time = vim.fn.reltime()
vim.cmd [[ vim.cmd [[
syntax off syntax off
filetype plugin indent off filetype plugin indent off
set nospell
]] ]]
-- Utility functions -- Utility functions
@ -50,9 +49,10 @@ async = vim.loop.new_async(vim.schedule_wrap(function()
vim.cmd("Dashboard") vim.cmd("Dashboard")
end end
-- Enable basic syntax highlight
vim.opt.syntax = "on" vim.opt.syntax = "on"
-- After 250ms enable syntax highlighting -- After 100ms fully reenable syntax highlighting
vim.defer_fn(function() vim.defer_fn(function()
vim.cmd [[ syntax on ]] vim.cmd [[ syntax on ]]
end, 100) end, 100)

Loading…
Cancel
Save