Commit Graph

135 Commits

Author SHA1 Message Date
siduck
dab9171e64 put all core stuff in core.init only 2023-03-09 18:07:58 +05:30
siduck
a3ea8a9f4d load mappings after custom init.lua
this ensures that custom leader key will work properly
2023-03-01 14:29:12 +05:30
siduck
4990b23935 use dofile to load cached theme files 2023-01-29 21:36:54 +05:30
siduck
947186b7ec dont load statusline highlights cache
as its included in the defaults file now!
2023-01-29 18:19:10 +05:30
siduck
1b8eff7516 migrate to lazy.nvim 2023-01-07 13:41:43 +05:30
siduck
ddeba3c01b bootstrap chadrc template before packer boostrap 2022-12-24 23:44:00 +05:30
siduck
54280a3e2a add function to install chadrc tempalte during bootstrap 2022-12-24 22:33:33 +05:30
Lucario387
a2540ef183 Fix mkdir on windows 2022-12-23 17:29:04 +05:30
siduck
8babf12991 avoid swallowing custom/init.lua errors by pcall 2022-12-17 17:04:52 +05:30
siduck
8db69224ba use lua api to set commands 2022-12-03 10:31:44 +05:30
siduck
ce9388d13d load bg file (containing vim.opt.bg value) 2022-11-22 08:29:48 +05:30
siduck
4f789d3406 add multiple cmp themes https://github.com/NvChad/base46/issues/109 2022-11-21 21:06:49 +05:30
siduck
d27029d1b1 load base46_cache in instead of minified modules 2022-11-19 11:45:33 +05:30
siduck
3616f417e7 fix packer bootstrapping not working 2022-11-17 23:16:28 +05:30
siduck
76f0c9bc6f rm incorrect theme cache path 2022-11-17 22:32:57 +05:30
siduck
770e07f77c fix typo in mkdir cmd 2022-11-17 22:04:03 +05:30
siduck
a894ced767 add cmd to compile nvchad theme 2022-11-17 21:32:55 +05:30
siduck
f77d052d70 change highlight loading function name 2022-11-17 19:26:43 +05:30
siduck
8a18f89b03 install binaries from mason.nvm & tsparsers automatically after nvchad install 2022-09-11 01:07:44 +05:30
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
2022-08-15 19:23:55 +05:30
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
2022-08-12 22:00:07 +05:30
nullchilly
b3d3c5a7dd Don't load packer at startup 2022-08-07 15:46:45 +05:30
nullchilly
22c3cc0c0d Don't load packer at startup 2022-08-07 15:46:45 +05:30
siduck
0b83d9cc0c shorten some mapping functions in utils.lua 2022-08-07 08:25:07 +05:30
siduck
6f0aa376a8 set shiftwidth to 2 | format all files
big thanks to @ghifarit53
2022-07-22 16:00:00 +00:00
siduck
62b9c09f44 fix tabufline crash when formatting buf | (#1265) 2022-06-26 06:24:52 +05:30
siduck
9bca3eacae clean config | fix (#1225) (#1226) 2022-06-18 09:57:17 +05:30
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
2022-06-14 17:36:27 +05:30
siduck
f78dc30508 minor improvements to startuptime 2022-06-01 00:49:23 +05:30
siduck
59de298d8f fix #1155, #1149 2022-05-30 12:33:46 +05:30
siduck
ed9082dfb4 load custom module | fix a2ff5c285e (commitcomment-74274032) 2022-05-23 14:54:59 +05:30
siduck
a2ff5c285e avoid un-needed lazy loading of packer | improve packer bootstrapping 2022-05-23 12:54:03 +05:30
siduck
0844431d37 breaking change : re-implement custom mappings | simplify it | add whichkey
fixes #1057 , #1047
2022-05-12 18:26:01 +05:30
Arman.H
5a1240be82 refactor: add utils to the global scope 2022-05-10 20:15:08 +05:30
siduck
adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
Sidhanth Rathod
d906bb0d9c
EVERYONE CHECK THE PINNED ISSUE ASAP!!! 2022-04-22 08:23:40 +05:30
siduck
e8b31c9308 add impatient.nvim and filetype.nvim | improve startuptime 2022-01-29 23:02:23 +05:30
siduck
c2a1298ac0 fix error handling of custom/init.lua (#739) 2022-01-22 18:33:05 +05:30
Akianonymus
4c85f25a09 init.lua: Print error message if custom init.lua cannot be called properly 2022-01-22 14:53:26 +05:30
siduck
799432e99e load custom/init.lua at last | fix (#694) 2022-01-07 07:30:55 +05:30
siduck
16d035c031 fix silly spelling mistake 2021-12-11 11:58:52 +05:30
Akianonymus
2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2021-12-11 11:58:52 +05:30
siduck
8de3f4e84c restructure init.lua | lspconfig 2021-11-14 06:49:33 +05:30
Ashin Antony
5db8d84515 Update init.lua 2021-09-29 22:03:29 +05:30
siduck76
92a9e13e7c Update init.lua 2021-09-28 15:11:03 +05:30
github-actions[bot]
7cab4295ee chore: format source code 2021-09-28 15:11:03 +05:30
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 ?
2021-09-28 15:11:03 +05:30
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
2021-08-22 17:54:10 +05:30
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
2021-08-19 14:19:12 +05:30
siduck76
aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
2021-08-19 12:36:01 +05:30