Nvim: Update all plugins
This commit is contained in:
@@ -15,7 +15,7 @@ vim.opt.undofile = true
|
||||
|
||||
vim.opt.conceallevel = 1
|
||||
|
||||
vim.opt.shell = '/bin/bash'
|
||||
--vim.opt.shell = '/bin/bash'
|
||||
|
||||
vim.opt.number = true
|
||||
--vim.o.relativenumber = 1
|
||||
@@ -33,7 +33,7 @@ vim.opt.splitright = true
|
||||
-- gui settings
|
||||
vim.opt.guifont="IBM Plex Mono Text:h9:e-subpixelantyalias"
|
||||
vim.g.neovide_cursor_vfx_mode = 'pixiedust'
|
||||
vim.g.neovide_refresh_rate = 120
|
||||
vim.g.neovide_refresh_rate = 165
|
||||
vim.g.neovide_refresh_rate_idle = 5
|
||||
vim.g.neovide_remember_window_size = 0
|
||||
|
||||
@@ -107,32 +107,4 @@ vim.opt.wildignore = [[
|
||||
*/tmp/*,*.so,*.swp,*.zip,**/node_modules/**,**/target/**,**.terraform/**"
|
||||
]]
|
||||
|
||||
|
||||
-- Only setup gnvim when it attaches.
|
||||
vim.api.nvim_create_autocmd({'UIEnter'}, {
|
||||
callback = function(event)
|
||||
local chanid = vim.v.event['chan']
|
||||
local chan = vim.api.nvim_get_chan_info(chanid)
|
||||
if chan.client and chan.client.name ~= 'gnvim' then
|
||||
return
|
||||
end
|
||||
|
||||
-- Gnvim brings its own runtime files.
|
||||
local gnvim = require('gnvim')
|
||||
|
||||
-- Set the font
|
||||
vim.opt.guifont = 'iM WritingMonoS Nerd Font'
|
||||
|
||||
-- Increase/decrease font.
|
||||
vim.keymap.set('n', '<c-+>', function() gnvim.font_size(1) end)
|
||||
vim.keymap.set('n', '<c-->', function() gnvim.font_size(-1) end)
|
||||
|
||||
gnvim.setup({
|
||||
cursor = {
|
||||
blink_transition = 300
|
||||
}
|
||||
})
|
||||
end
|
||||
})
|
||||
|
||||
vim.g.loaded_perl_provider = 0
|
||||
|
||||
Reference in New Issue
Block a user