]> git.armaanb.net Git - dotfiles.git/commitdiff
nvim: speed up
authorArmaan Bhojwani <me@armaanb.net>
Mon, 22 Nov 2021 01:47:42 +0000 (20:47 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 22 Nov 2021 01:47:42 +0000 (20:47 -0500)
.config/nvim/init.lua

index d85a06a51f3ff376f7e471c06b1b0d63dbeba88e..ffc6359f9f6425371258b2847e9d11c9872f69b2 100644 (file)
@@ -19,15 +19,19 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
                'https://github.com/savq/paq-nvim.git', install_path})
 end
 
+require('impatient')
+
 require('paq') {
-       'ap/vim-css-color';               -- Highlight css colors
        'ctrlpvim/ctrlp.vim';             -- Fuzzy file finding
        'editorconfig/editorconfig-vim';  -- Follow editorconfig
        'folke/lsp-colors.nvim';          -- Add LSP colors to any theme
        'godlygeek/tabular';              -- Line things up
+       'lewis6991/impatient.nvim';       -- Improve startup time
        'lifepillar/vim-mucomplete';      -- Simple autocompletion
        'meain/hima-vim';                 -- Nice color scheme
+       'nathom/filetype.nvim';           -- Faster filetype.vim replacement
        'neovim/nvim-lspconfig';          -- LSP configurations
+       'norcalli/nvim-colorizer.lua';    -- Highlight css colors
        'ntpeters/vim-better-whitespace'; -- Highlight and strip whitespace
        'savq/paq-nvim';                  -- paq manages itself
        'sheerun/vim-polyglot';           -- Language pack
@@ -102,3 +106,6 @@ vim.opt.signcolumn = 'no'
 -- Jump to files with gf
 vim.opt.hidden = true
 vim.opt.path = vim.opt.path + '**'
+
+-- Disable intro message
+vim.opt.shortmess = "I"