122 Commits (master)

Author SHA1 Message Date
blob42 896a05b16d temporary fix telescope exit insert: problem fixed in HEAD 9 months ago
blob42 3a80c0080d fix XDG 1 year ago
spike 5977281eea toggle diagnostics severity 2 years ago
spike 2621ab3ad6 plantuml + aerial .. 2 years ago
spike dcf8815015 renamed sp4ke to spike 2 years ago
spike 8994636c3f refactoring / upgrade
- bookmarks
- better mappings
- global helpers
- autoloading and vim scripts
2 years ago
spike 4ecf95bcf1 stable lsp colors + signature + misc updates 2 years ago
Akianonymus 78ddf8d624 Just load impatient from init
if will be called multiple times if present in lazy_load.lua which is
  totallly unnecessary

why even from there ?

Yes, this does not affect the --startuptime
2 years ago
nullchilly b3d3c5a7dd Don't load packer at startup 2 years ago
nullchilly 22c3cc0c0d Don't load packer at startup 2 years ago
siduck 0b83d9cc0c shorten some mapping functions in utils.lua 2 years ago
siduck 6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2 years ago
siduck 62b9c09f44 fix tabufline crash when formatting buf | (#1265) 2 years ago
siduck 9bca3eacae clean config | fix (#1225) (#1226) 2 years ago
siduck 0bde81a074 Improve startuptime | remove un-needed plugins | lazy load plugin highlights too
removed nvim-gps as nvim-navic or winbar.nvim will be added when v0.8 neovim releases. Removed lsp signature as I was able to emulate showing args with the default signature help() window
2 years ago
siduck f78dc30508 minor improvements to startuptime 2 years ago
siduck 59de298d8f fix #1155, #1149 2 years ago
siduck ed9082dfb4 load custom module | fix a2ff5c285e (commitcomment-74274032) 2 years ago
siduck a2ff5c285e avoid un-needed lazy loading of packer | improve packer bootstrapping 2 years ago
siduck 0844431d37 breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
2 years ago
Arman.H 5a1240be82 refactor: add utils to the global scope 2 years ago
siduck adecbe719f BREAKING CHANGE | re-implementation of custom config 2 years ago
Sidhanth Rathod d906bb0d9c
EVERYONE CHECK THE PINNED ISSUE ASAP!!! 2 years ago
siduck e8b31c9308 add impatient.nvim and filetype.nvim | improve startuptime 2 years ago
siduck c2a1298ac0 fix error handling of custom/init.lua (#739) 2 years ago
Akianonymus 4c85f25a09 init.lua: Print error message if custom init.lua cannot be called properly 2 years ago
siduck 799432e99e load custom/init.lua at last | fix (#694) 2 years ago
siduck 16d035c031 fix silly spelling mistake 2 years ago
Akianonymus 2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2 years ago
siduck 8de3f4e84c restructure init.lua | lspconfig 3 years ago
Ashin Antony 5db8d84515 Update init.lua 3 years ago
siduck76 92a9e13e7c Update init.lua 3 years ago
github-actions[bot] 7cab4295ee chore: format source code 3 years ago
Ashin Antony 8726de1faa chore: Clean init.lua
Why do we have a table to require a single module. We had this when we had plugins, colors etc. 
But we only have one module now. So why bother a list and looping through for a single module ?
3 years ago
Akianonymus 9ffddb6b52 Restructure config | Move some to a packer plugin | Lot of cleanup
* move teleacope files, updater and related utils to
  https://github.com/NvChad/core

* restructure config file and directory structure

* expose mappings for better escape

* allow multiple mappings for some

* improve merge table function for the same

* move autocommands to a seperate file

* rearrange everything alphabetically where sanely possible

* rearrange packer plugin list on the basis of trigerred state

config structure now

 .
├──  init.lua
├──  LICENSE
├──  lua
│  ├──  chadrc.lua
│  ├──  colors
│  │  ├──  highlights.lua
│  │  ├──  init.lua
│  │  └──  themes
│  │     ├──  chadracula.lua
│  │     ├──  everforest.lua
│  │     ├──  gruvchad.lua
│  │     ├──  javacafe.lua
│  │     ├──  mountain.lua
│  │     ├──  norchad.lua
│  │     ├──  one-light.lua
│  │     ├──  onedark.lua
│  │     ├──  tokyonight.lua
│  │     └──  tomorrow-night.lua
│  ├──  core
│  │  ├──  autocmds.lua
│  │  ├──  init.lua
│  │  ├──  mappings.lua
│  │  ├──  options.lua
│  │  └──  utils.lua
│  ├──  default_config.lua
│  └──  plugins
│     ├──  configs
│     │  ├──  autopairs.lua
│     │  ├──  autosave.lua
│     │  ├──  bufferline.lua
│     │  ├──  chadsheet.lua
│     │  ├──  compe.lua
│     │  ├──  dashboard.lua
│     │  ├──  gitsigns.lua
│     │  ├──  icons.lua
│     │  ├──  lspconfig.lua
│     │  ├──  luasnip.lua
│     │  ├──  nvimtree.lua
│     │  ├──  others.lua
│     │  ├──  statusline.lua
│     │  ├──  telescope.lua
│     │  ├──  treesitter.lua
│     │  └──  zenmode.lua
│     ├──  init.lua
│     └──  packerInit.lua
└──  README.md
3 years ago
Akianonymus 02f0122ab4 mappings|init: Move init mappings to a function, only call when required | Show err message for init
because mappings.lua is called from multiple places, so there should't be any code that executes without calling a specific function

show error message when something fails in init.lua
makes no sense to not

rearrange plugin functions alphabetically, but keep misc at top
3 years ago
siduck76 aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
3 years ago
Aki 36cb57ecce
NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)
* tree-wide: Format files

ugh why do people don't push formatted stuff

* mappings|init: Move init mappings to a function, only call when required | Show err message for init

because mappings.lua is called from multiple places, so there should't be any code that executes without calling a specific function

show error message when something fails in init.lua
makes no sense to not

rearrange plugin functions alphabetically, but keep misc at top

* feat: Do not depend on user config | Fix merging of configs

because it is a user config, so our config shoudn't break even we if dont have it

use our own table merge function

move loading config to a function

use a global variable to store the config, so no need to call the table function everytime

* Add NvChadUpdate command and shortcut for it

map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua

* NvChadUpdater: Make update repo and url configurable | Improvr logging
3 years ago
Galen Rowell 86903ab982
chore: stylua formatting update (#261)
* addded stylua config file

* chore: formatted with stylua
3 years ago
Akianonymus 7affb8cbfb Move from utils.lua to their respective places | Format all files 3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
siduck76 559acbd135
rm unneeded error landing
nvim by default shows stackrace path so I dont think we should be having this.
3 years ago
Akianonymus fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
3 years ago
siduck76 b54c4ca5de
better error message 3 years ago
Pocco81 5531edf8e4 fix: formatted code with luafmt 3 years ago
Pocco81 355178a7bb feat: secure calls + disabled all builtin plugins 3 years ago
siduck76 4ff7208c66 lazy loading 100%!! 3 years ago
siduck76 c6857e2a72 modded nord theme added 3 years ago