
* feat: init lazy.nvim * refactor: easy plugin init * feat: user defined plugins * refactor: clean up user config * refactor: clean up lsp plugins * fix: lsp signature * fix: null ls user config * feat: replace commands * feat: optimize lazy loading * fix: lsp_signature working * fix: documentation hover/sig help * fix: autopairs * feat: clean up luasnips * fix auto complete * moar laziness * feat: add markdown_inline to ensured_installed for TS * clean up * clean up auto-session
12 lines
408 B
Lua
12 lines
408 B
Lua
local augroup_name = 'CosmicNvim'
|
|
local group = vim.api.nvim_create_augroup(augroup_name, { clear = true })
|
|
vim.api.nvim_create_autocmd('VimResized', {
|
|
command = 'tabdo wincmd =',
|
|
group = group,
|
|
})
|
|
|
|
vim.cmd([[
|
|
command! CosmicUpdate lua require('cosmic.utils.cosmic').update()
|
|
command! CosmicSync lua require('cosmic.utils.cosmic').sync_plugins(true)
|
|
command! LspFormat lua vim.lsp.buf.format()
|
|
]])
|