Fix nvim-qt

This commit is contained in:
Alex Yatskov 2023-04-21 17:01:46 -07:00
parent 502a30f454
commit 96d91669c7
3 changed files with 4 additions and 11 deletions

3
ginit.vim Normal file
View File

@ -0,0 +1,3 @@
lua << EOF
require('config.ginit')
EOF

View File

@ -1,14 +1,3 @@
vim.api.nvim_create_autocmd(
'UIEnter', {
callback = function()
if vim.v.event.chan == 1 then
require('config.ginit')
end
end,
once = true,
}
)
vim.api.nvim_create_autocmd(
'BufRead,BufNewFile', {
pattern = '*.gohtml',

View File

@ -16,6 +16,7 @@ vim.opt.linebreak = true
vim.opt.listchars = "tab:» ,eol:↲,space:·"
vim.opt.modeline = false
vim.opt.modelines = 0
vim.opt.mousemodel = 'extend'
vim.opt.number = true
vim.opt.shiftround = true
vim.opt.shiftwidth = 4