Commit Graph

26 Commits

Author SHA1 Message Date
siduck 1f73ef0ec6 clean remove_default_plugins function 2022-01-31 14:13:51 +05:30
Akianonymus 6b06bb9ed4 Remove duplicate code, missed in d8dabe9 | Format files 2022-01-31 11:13:31 +05:30
zbirenbaum e87c10f225 fix for removals 2022-01-31 08:07:09 +05:30
zbirenbaum 4b68a75853 added helper functions for removing plugins from default plugin table 2022-01-31 07:08:15 +05:30
zbirenbaum 4077ff3520 fixed chadrc string overrides calling default function parameter. Added ability to use function as config override 2022-01-22 10:15:38 +05:30
Akianonymus bccd8e4ab9 utils: Improve override functions | Fix nvimtree and statusline config |
Misc

* make more things configurable
* use more generic variable names
* handle some edgecases
* cleanup
* format files
2022-01-22 10:15:38 +05:30
zbirenbaum cf7f8a557a added helper function to support partial plugin config overrides via tables in chadrc 2022-01-22 10:15:38 +05:30
zbirenbaum 1e6f9a2e52 fix errors thrown by neovim no longer allowing implicit conversions of nil to 0 in api function calls. See neovim/neovim#16745 for details on why this is now an error 2022-01-04 06:39:27 +05:30
Dundar Göc 9d013a3529 chore: fix typos 2022-01-04 06:07:38 +05:30
Akianonymus 2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2021-12-11 11:58:52 +05:30
siduck 3330d1cc06 clean up! 2021-11-17 11:00:57 +05:30
siduck 1567a9c73a use tbl_deep_extend to merge configs | rm other functions 2021-11-15 21:39:35 +05:30
siduck bdd6dc12c2 restructure | clean default_config 2021-11-14 12:43:36 +05:30
siduck 8de3f4e84c restructure init.lua | lspconfig 2021-11-14 06:49:33 +05:30
siduck a256591e90 move plugin override function to utils | increase packer clone timeout 2021-11-13 23:07:20 +05:30
siduck c8a27d701c cleanup! 2021-11-13 21:59:31 +05:30
siduck fd668e559e add option for overriding highlights (#596) 2021-11-09 06:22:51 +05:30
Akianonymus d810cc35a7 chore: format files 2021-10-02 11:24:14 +05:30
Galen Rowell 94b01be483 fix: `default_config` var `plugin` -> `plugins` instead 2021-09-27 13:41:31 +05:30
Galen Rowell 9961cc0113 refactor: clean & re-organise default_config + chadrc
this completely overhauls the design of the two configuration files,
aiming to move options & various tables into a more sensible table structure

BREAKING CHANGE: this will break any user modificiations to the current
config
2021-09-24 19:11:55 +05:30
Galen Rowell a5ae8899d5 fix: merge_tables bug caught 2021-09-24 19:11:55 +05:30
Galen Rowell ca1ad15ad2 refactor: Cleaning chadrc, moved to custom & moved default_config to core 2021-09-24 19:11:55 +05:30
Akianonymus adf0168dcc plugins: More lazy load, yay
use vim.defer_fn to load the plugins after entering the ui

add the lazy load to setup

lazy load gitsigns, neoscroll, lspinstall and vim-matchup using this method

rearrange according to startup sequence
2021-08-26 19:41:27 +05:30
Akianonymus 9b4b288d01 utils: load_config: Use filereadable to check if file exists 2021-08-25 11:41:15 +05:30
Akianonymus 49216a9c93 feat: Support for custom user mappings | Improve map function
move map function to utils

rearrange utils, was missed
2021-08-25 11:41:15 +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