135 Commits (v2.0)

Author SHA1 Message Date
siduck dab9171e64 put all core stuff in core.init only 1 year ago
siduck a3ea8a9f4d load mappings after custom init.lua
this ensures that custom leader key will work properly
1 year ago
siduck 4990b23935 use dofile to load cached theme files 1 year ago
siduck 947186b7ec dont load statusline highlights cache
as its included in the defaults file now!
1 year ago
siduck 1b8eff7516 migrate to lazy.nvim 1 year ago
siduck ddeba3c01b bootstrap chadrc template before packer boostrap 1 year ago
siduck 54280a3e2a add function to install chadrc tempalte during bootstrap 1 year ago
Lucario387 a2540ef183 Fix mkdir on windows 1 year ago
siduck 8babf12991 avoid swallowing custom/init.lua errors by pcall 1 year ago
siduck 8db69224ba use lua api to set commands 2 years ago
siduck ce9388d13d load bg file (containing vim.opt.bg value) 2 years ago
siduck 4f789d3406 add multiple cmp themes https://github.com/NvChad/base46/issues/109 2 years ago
siduck d27029d1b1 load base46_cache in instead of minified modules 2 years ago
siduck 3616f417e7 fix packer bootstrapping not working 2 years ago
siduck 76f0c9bc6f rm incorrect theme cache path 2 years ago
siduck 770e07f77c fix typo in mkdir cmd 2 years ago
siduck a894ced767 add cmd to compile nvchad theme 2 years ago
siduck f77d052d70 change highlight loading function name 2 years ago
siduck 8a18f89b03 install binaries from mason.nvm & tsparsers automatically after nvchad install 2 years ago
siduck be6d1f995f fix mapleader not mapped properly to general mappings
this happens cuz all mappings are set just after calling  core.options and custom module is called at the end of the init.lua #1475
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 3 years ago
Akianonymus 2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
3 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