Commit Graph

1862 Commits

Author SHA1 Message Date
Akianonymus 92eb5ca740 Do not load packer on startup
Actually saved some milliseconds, can be observed in benchmarks too

from packer readme

```
To optimize startup time, packer.nvim compiles code to perform the lazy-loading operations you specify. This means that you do not need to load packer.nvim unless you want to perform some plugin management operations.
```

Add packer commands manually to mappings.lua, but with basic functionalty

By this, we don't losr the packer commands and don't even load at startup

After some command is actually executed, it will load the PackerCommands as they were
2021-07-23 21:58:14 +05:30
Akianonymus 6b4435caef Don't use new_async
It doesn't seem to be improving stuff as it is not supposed to

Due to the half baked stats of the startuptime plugin, people were fooled

no point in disabling filetype and whatenot

See some discussion here: https://github.com/siduck76/NvChad/issues/175
2021-07-23 21:57:14 +05:30
Akianonymus 936f368036 Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
because it's broken now
2021-07-23 20:23:02 +05:30
siduck76 e01aafeea5
Merge pull request #178 from Akianonymus/main
install.sh: Use chsh instead of grep /etc/shells | init: Move bufferline config to pluginList | Misc improvements
2021-07-23 18:38:32 +05:30
siduck76 559acbd135
rm unneeded error landing
nvim by default shows stackrace path so I dont think we should be having this.
2021-07-23 18:17:31 +05:30
Akianonymus bb04ba07cb mappings.lua: Code style fixes | Cleanup options.lua 2021-07-23 18:15:13 +05:30
Akianonymus fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
2021-07-23 18:14:52 +05:30
Akianonymus 3fc587b54d install.sh: Use chsh instead of grep /etc/shells 2021-07-23 18:07:30 +05:30
siduck76 766d52db12
Merge pull request #174 from G-Rowell/dev-terminalAndScript
Fix term crash bug, no auto-close finished term anymore
2021-07-23 18:04:59 +05:30
siduck76 f8727f1659
Update utils.lua 2021-07-23 18:03:04 +05:30
vlad doster 756713b9c3
(maint): update conditional check and log message
- Use more appropriate `-n` flag
- Reword log message
2021-07-23 04:17:57 -05:00
Galen Rowell 0d69a528a8 Fix statusline issue 2021-07-22 18:04:21 +10:00
Galen Rowell 652f703767 Fix term crash bug, no auto-close finished term anymore 2021-07-22 17:45:47 +10:00
siduck76 020daec5fc
disable matchit
matchit was already disabled by default but a recent PR enabled it again , sorry for that! Since vim matchup already does what matchit does , I'll remove it.
2021-07-21 23:06:28 +05:30
siduck76 845ac0e615
Merge pull request #171 from Pocco81/dev-init
Securely call modules and disable all builtin plugin
2021-07-21 23:00:42 +05:30
siduck76 b54c4ca5de
better error message 2021-07-21 23:00:19 +05:30
siduck76 fec301504f clean stuff 2021-07-21 22:37:48 +05:30
siduck76 c1544dd020
Merge pull request #170 from Pocco81/dev-lsp
Lang servers error suppression and better "publish diagnostics" glyph
2021-07-21 22:48:44 +05:30
siduck76 08dfe17678 clean stuff | map new tab 2021-07-21 11:26:25 +05:30
siduck76 f72c36f4ab
Merge pull request #167 from G-Rowell/dev-terminalAndScript
Fix buffers/tab terminal issues, improve terminal install scripting
2021-07-21 10:02:51 +05:30
Pocco81 5531edf8e4 fix: formatted code with luafmt 2021-07-20 23:20:00 -05:00
Pocco81 355178a7bb feat: secure calls + disabled all builtin plugins 2021-07-20 13:19:31 -05:00
Pocco81 1e2d299bf9 feat: suppressed error messages from lang servers and added better glyph for publish diagnostics 2021-07-20 12:38:51 -05:00
Galen Rowell f35aa3c604 automatically close a terminal buffer if it has exited/returned 2021-07-20 20:18:10 +10:00
Galen Rowell 15f20e8437 better shell setup scripting 2021-07-20 19:41:50 +10:00
Galen Rowell a6ea40d7ba open default shell terminal with proper neovim commands, fix buffer tabline issue 2021-07-20 19:38:43 +10:00
Galen Rowell ff14ba61f9 open new buffers, instead of tabs 2021-07-20 19:36:06 +10:00
siduck76 665fa24783
Merge pull request #166 from Akianonymus/main
Fixes
2021-07-19 21:32:50 +05:30
Akianonymus 2e1d53971e install.sh: More automation 2021-07-19 20:35:10 +05:30
Akianonymus 2567ebaee4 telescope: Fix a bug introduced in 0023233
PackerCompile at the same time conflicts with packer sync because packer always runs in bg
2021-07-19 20:35:10 +05:30
siduck76 3669af3517
Merge pull request #165 from Akianonymus/main
Even faster startup time | Fix formatting | Misc
2021-07-19 08:54:01 +05:30
Akianonymus 1e658562f0 install.sh: Run PackerSync from script after install too
as the corresponding code for that was removed from init.lua
2021-07-19 07:20:22 +05:30
Akianonymus 6b507c3368 init: Asynchronously load filetype and syntax
lots of improvement for startup time

Co-authored-by: Vhyrro <vhyrro@gmail.com>
2021-07-19 07:20:22 +05:30
Akianonymus 0023233eef Fix formatting | Handle a edgecase in telescope config | Misc
* fix formatting in pluginList, luasnip

* don't use pcall on highlights

* sync and compile fzf and media files only when the error occurs, add a
  help text telling tbe user to restart neovim
2021-07-19 07:19:53 +05:30
Akianonymus 05d57bba29 packerInit: Clone packer at opt path as we are lazy loading
move packadd to packerInit
2021-07-19 06:19:36 +05:30
siduck76 d257c4dd85
Update README.md 2021-07-18 23:35:25 +05:30
siduck76 4ff7208c66 lazy loading 100%!! 2021-07-18 22:11:52 +05:30
siduck76 9f1dc90269
Create README.md 2021-07-18 18:27:11 +05:30
siduck76 18a050d54f
Update README.md 2021-07-18 18:27:06 +05:30
siduck76 036fb6cd66 update readme 2021-07-18 18:23:29 +05:30
siduck76 2a9d24b4a8
Update README.md 2021-07-18 17:50:21 +05:30
siduck76 3be058da26 more lazy loaddd 2021-07-18 16:32:03 +05:30
siduck76 79f8c39dd2 Merge branch 'main' of github.com:siduck76/NvChad 2021-07-18 16:06:48 +05:30
siduck76 18f3b8b93e
map jk escape from terminal buffer 2021-07-18 16:10:23 +05:30
siduck76 6d98a11dfe lazy load more plugins! 2021-07-18 16:06:33 +05:30
siduck76 cb3f7538e8
Merge pull request #162 from G-Rowell/dev-fixTerm
Fix terminal config issues
2021-07-18 11:45:12 +05:30
Galen Rowell 1bedbbe5c4 Fix terminal buffer format bug, & enable escape from terminal & visual mdoes 2021-07-18 15:42:54 +10:00
siduck76 cf8b2ce1cb
Merge pull request #161 from Akianonymus/main
Code style fixes | Some saner defaults
2021-07-18 09:46:09 +05:30
Akianonymus 9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
2021-07-17 22:10:25 +05:30
Akianonymus 1d7602e3e4 mappings: Don't yank the text after pasting in visual mode 2021-07-17 19:09:12 +05:30