diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
| commit | 1c3506724b93b5914af223b0464b84f1c219399b (patch) | |
| tree | 701f5ca76f1ec12644b2bb66d9aa983634e98892 /init.lua | |
| parent | 7f30d31c9142bbeb10a21b4de9f58bc6d3a0a3f1 (diff) | |
| download | dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.tar.gz dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.zip | |
Removed duplicate files
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -32,16 +32,14 @@ -- See startup time --nvim --startuptime startup.log -c exit && tail -100 startup.log +-- Load impatient local impatient_ok, impatient = pcall(require, "impatient") if impatient_ok then impatient.enable_profile() end ---local stdpath = vim.fn.stdpath +-- Check if we have the latest stable version of nvim local utils = require("user.utils") -vim.g.snippets = "luasnip" - --- check if we have the latest stable version of nvim local expected_ver = "0.8.0" local nvim_ver = utils.get_nvim_version() @@ -58,10 +56,8 @@ vim.schedule(function() vim.cmd("silent! rsh") end) --- IMPORTS ---require("impatient") --- Load/reload modules here +-- Load/reload modules local modules = { "user.pack", -- Packer plugin manager "user.opts", -- Options @@ -90,7 +86,6 @@ local modules = { --"plugins.dap", --"plugins.toggleterm", --"plugins.floatterm", - vim.notify("Nvim configuration reloaded!") -- print this when reloaded } -- Refresh module cache @@ -99,6 +94,9 @@ for k, v in pairs(modules) do require(v) end +-- Snippets +vim.g.snippets = "luasnip" + -- Improve speed by disabling some default plugins/modules local builtins = { "gzip", |
