Commit Graph

147 Commits

Author SHA1 Message Date
primeapple
498513d72d put opt keys back 2022-04-30 17:24:05 +05:30
primeapple
949a8d5aaf added gc and gb as keys to trigger lazy load on comment plugin, removed unnesc opt keys 2022-04-30 17:24:05 +05:30
zbirenbaum
95951c86a9 add back ability to remove plugins 2022-04-29 10:40:36 +05:30
siduck
adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
justin-f-perez
cbc813388d override default branch for bufferline
By default packer tries to use "master" for the branch of any plugin that doesn't have a branch explicitly defined. However, the bufferline authors recently renamed their default branch from "master" to main. Thus, packer will work fine with bufferline for any new clones, but it will fail to update for anyone who had the old branch name "master" set.

See also: https://github.com/wbthomason/packer.nvim/issues/86
2022-04-10 09:17:26 +05:30
zbirenbaum
1face444b8 change plugin init to config terminal on load extensions, change mappings to use new chadterm 2022-03-31 06:51:36 +05:30
siduck
75dbf5027d fix dashboard not showing | (#888) 2022-03-20 07:30:30 +05:30
siduck
cb531cd90b shorten some long mapping vars, fix (#849)| fix (#836) 2022-03-01 12:43:34 +05:30
zbirenbaum
1777be0064 fix for treesitter not loading on creating new file 2022-03-01 08:00:21 +05:30
Jay Patel
0cf5d77f72 feat: Run :TSUpdate on TS Install / Update
https://github.com/NvChad/NvChad/pull/838

> TreeSitter recommends running `:TSUpdate` after update with TS or on (re-)installation of Treesitter. Reference example recommended by TS: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Installation
2022-02-24 09:52:16 +05:30
siduck
ceaf02e0bf replace dashboard with alpha.nvim (#816) 2022-02-20 11:44:43 +05:30
zbirenbaum
4be722d4a6 fix global variable causing issues 2022-02-15 08:12:51 +05:30
zbirenbaum
f81531df42 improve method of adding and removing plugins 2022-02-14 16:11:41 +05:30
siduck
a21e884983 remove snippet option for cmp | fix telescope first time delay 2022-02-12 07:31:23 +05:30
Akianonymus
e7bba86ccf plugins/colorizer: Move to our org fork 2022-02-07 20:21:11 +05:30
siduck
748f0db485 lazy load Comment.nvim on gcc keybind (#801) 2022-02-05 19:09:25 +05:30
siduck
7b7c204e23 correct repo name for extensions plugin 2022-02-04 22:19:06 +05:30
siduck
1f73ef0ec6 clean remove_default_plugins function 2022-01-31 14:13:51 +05:30
zbirenbaum
4bda425371 added field for removing plugins to default config and call to plugin removal in init.lua 2022-01-31 07:08:15 +05:30
zbirenbaum
4b68a75853 added helper functions for removing plugins from default plugin table 2022-01-31 07:08:15 +05:30
Akianonymus
de246fa0f5 Resolve https://github.com/NvChad/NvChad/issues/774 | Format 2022-01-30 23:09:25 +05:30
siduck
64c32d2e5e clean packer config | Breaking change 2022-01-30 12:51:46 +05:30
siduck
e8b31c9308 add impatient.nvim and filetype.nvim | improve startuptime 2022-01-29 23:02:23 +05:30
siduck
50aa25f307 remove duplicate var | tidy 2022-01-29 20:03:59 +05:30
siduck
0349de6d10 lazy load nvim-cmp if snippets are disabled 2022-01-29 19:59:59 +05:30
i3cheese
2a02054a39 Add config.plugins.status.snippets to enable/disable snippets 2022-01-29 19:59:59 +05:30
siduck
ee5b79d3d4 fix (#740) | lazy load lspconfig on nvim_cmp_lsp module 2022-01-26 20:17:44 +05:30
siduck
20e8249efa fix typo in variable 2022-01-23 13:03:39 +05:30
siduck
4511b84d6c load lspconfig after cmp | fix (#740)
if cmp isnt lazy loaded then load lspconfig after it so cmp-nvim-lsp capabilities can be used by lspconfig
2022-01-23 12:54:15 +05:30
Akianonymus
b9fcaf610f plugins:lspconfig: Add module name to packer config
https://github.com/NvChad/NvChad/issues/730
2022-01-22 14:53:26 +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
82211ed829 updated init.lua requires to support new plugin default configuration format 2022-01-22 10:15:38 +05:30
siduck
8f7b19f23b lazy load telescope module 2022-01-20 11:37:32 +05:30
siduck
b1338beb0f add option to toggle lazy load for cmp and related 2022-01-11 18:43:09 +05:30
siduck
e9b25e5912 rm un-needed lazy loading for comment.nvim
loading it with our lazy_load function would mean that it would load after the UI so using module=comment doesnt make any sense at all, so keeping only the module part would mean that this plugin would load on mappings that invoke comment.nvim functions
2022-01-10 06:32:27 +05:30
siduck
71b710b35b add option for packerInit | fix (#715) 2022-01-09 09:07:18 +05:30
siduck
4e54ee0081 rm hooks 2022-01-07 19:58:05 +05:30
siduck
9551ce7031 rm telescope-media-files.nvim!
it heavily relies on xorg so doesnt fully work on linux!, forget about macos,windows. Added a basic config doc for it here : https://nvchad.github.io/Extras#telescope-media-filesnvim
2022-01-01 17:30:42 +05:30
siduck
abe720b881 remove telescope fzf-native.nvim plugin 2022-01-01 16:24:19 +05:30
Akianonymus
331754a890 nvimtree: Load after nvim-web-devicons when lazy load disabled
this is necessary as nvimtree depends on nvim-web-devicons

follow up commit for a2d91ac
2021-12-26 10:44:30 +05:30
Akianonymus
a2d91acc84 nvimtree: Allow changing lazy load from chadrc | Resolve https://github.com/NvChad/NvChad/issues/621
a packerCompile is needed after changin the config value in chadrc
2021-12-25 06:04:58 +05:30
boppyt
344a9aa90c fix typo in feline repo 2021-12-23 05:53:37 +05:30
siduck
e5435e93de update feline config (rename colors table to theme) 2021-12-22 22:35:16 +05:30
Sravanth C
f718060260 Rename esc_insertmode to better_escape
- change the plugin status name for better_escape
2021-12-16 18:37:24 +05:30
Akianonymus
d2db2cc1cd plugin: Use Comment.nvim | Resolve #646 & #626 2021-12-11 22:54:59 +05:30
siduck
5c69d46dd6 rm unused config in nvimtree | include vim highlighting support by default 2021-11-19 07:17:09 +05:30
siduck
3330d1cc06 clean up! 2021-11-17 11:00:57 +05:30
siduck
aa9667a5de Revert "add cheatsheet.nvim"
This reverts commit e8b919723e.
2021-11-15 22:51:51 +05:30
siduck
e8b919723e add cheatsheet.nvim 2021-11-14 18:23:59 +05:30
siduck
a256591e90 move plugin override function to utils | increase packer clone timeout 2021-11-13 23:07:20 +05:30
siduck
b4c50fa443 misc change in override function 2021-11-13 22:26:38 +05:30
siduck
c5fe1f711e add : option to load autopairs sequentially (#584) 2021-11-05 20:04:52 +05:30
siduck76
068ae08f6c avoid using cmp disable var for autopairs (#567) 2021-10-22 05:47:35 +05:30
siduck76
e8bbe1e4a1 Revert "update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig"
This reverts commit 86d92a2fd2.
2021-10-09 11:17:21 +05:30
siduck76
86d92a2fd2 update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig 2021-10-05 06:59:00 +05:30
Akianonymus
585266dcef fix: Packer blank window on PackerSync 2021-10-02 11:24:14 +05:30
siduck76
a1c234e001 clean : debloat config | rm un-needed plugins 2021-10-02 10:41:50 +05:30
Nathan Wallace
ba3af27de0 add config option to disable nvimtree 2021-10-02 08:30:14 +05:30
siduck76
cd9b2c4810 Revert "fix : packer blank window on PackerSync"
This reverts commit 9a2430132f.
2021-10-01 19:34:18 +05:30
siduck76
9a2430132f fix : packer blank window on PackerSync 2021-10-01 17:15:23 +05:30
siduck76
1756c92609 refactor : separate lspconfig setups 2021-09-30 09:51:00 +05:30
siduck76
0b55d45845 rm neoformat plugin 2021-09-29 22:34:22 +05:30
siduck76
e137fddf6e add : cmp-path plugin 2021-09-29 18:16:43 +05:30
Ashin Antony
3d7f0159f5 fix: Fixes telescope issue where requiring telescope module
this fixes the following issue https://github.com/nvim-telescope/telescope.nvim/issues/1276
2021-09-29 06:55:19 +05:30
siduck76
a41ab8b830 fix : Add option to disable cmp (#482) 2021-09-26 07:21:07 +05:30
siduck76
50a5bcc870 rm : vim-fugitive plugin 2021-09-25 23:11:59 +05:30
siduck76
9e8fb9db74 feat: add overrides for more plugins | disable some by default 2021-09-24 20:47:53 +05:30
siduck76
cc48bfb5c8 remove cheatsheet.nvim 2021-09-24 18:57:36 +05:30
github-actions[bot]
3d0a0e53f7 chore: format source code 2021-09-24 19:11:55 +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
80c8bf4243 feat: allow packaged plugin config overrides within chadrc 2021-09-24 19:11:55 +05:30
Morten Olsen
bfc10e6034 feat: Add custom scripts and hook based setup
This commit introduces a hook system that allows the user to add custom
modules which can use these hooks to invoke function af specific NvChad
events to allow for extending og functionality
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
siduck76
22f89cfeef Revert "remove cheatsheet.nvim for now"
This reverts commit f3fe3d46c8.
2021-09-24 18:31:42 +05:30
siduck76
f3fe3d46c8 remove cheatsheet.nvim for now 2021-09-24 18:22:04 +05:30
siduck76
0b30ed27d5 replace better-escape.vim with better-escape.nvim 2021-09-22 21:26:30 +05:30
siduck76
cafd078e8f fix esc_insertmode settings not getting applied in chadrc (#422) 2021-09-10 16:21:54 +05:30
siduck76
4c025cd1bf debloat config | remove lspinstall 2021-09-10 15:40:54 +05:30
Ashin Antony
3d6d429793 feat: Move treesitter branch to compat-0.5
If you want to use this plugin with Neovim 0.5, please use the 0.5-compat branch. Be aware though that most improvements will require neovim nightly.
https://github.com/nvim-treesitter/nvim-treesitter
2021-09-09 07:15:31 +05:30
siduck76
d1777dfbdf load friendly-snippets before nvim-cmp 2021-09-07 07:07:39 +05:30
siduck76
873b846d50 disable dashboard by default 2021-09-02 09:45:28 +05:30
siduck76
5db010e870 mv luasnip config to others.lua 2021-08-28 09:39:38 +05:30
Akianonymus
a1c103b6a8 lsp: Reload current buffer after startup
so lsp aftually starts for the current buffer, rest buffers are fine
2021-08-27 10:20:57 +05:30
siduck76
c87482f107 lazy load luasnip after cmp 2021-08-27 08:11:46 +05:30
siduck76
647c3730ae clean up 2021-08-27 07:56:44 +05:30
siduck76
253047747a remove lspkind 2021-08-27 07:53:06 +05:30
siduck76
475a4c5f38 replace compe with cmp 2021-08-27 06:44:58 +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
siduck76
21b2680e56 Merge branch 'main' of github.com:NvChad/NvChad 2021-08-26 10:48:17 +05:30
ashincoder
7d8f6b85c7 feat: Load lspkind on insert event. 2021-08-26 10:51:16 +05:30
siduck76
80d36cca00 move to feline.nvim 2021-08-26 10:48:13 +05:30
siduck76
bf3e9a323f make gitsigns plugin load on dir containing .git only 2021-08-24 15:37:38 +05:30
Noah Lidell
fba26a3a40 commands to load fugitive 2021-08-24 09:05:06 +05:30
siduck76
ac83f1d580 add mapping to focus nvimtree (349) 2021-08-23 16:44:52 +05:30
Akianonymus
a28a838c06 NvChad/core -> Nvchad/extensions 2021-08-22 17:54:10 +05:30
Akianonymus
ef40dfcbc1 plugins: Properly lazy load telescope
from packer docs

module = string or list      -- Specifies Lua module names for require. When requiring a string which starts
                               -- with one of these module names, the plugin will be loaded.
2021-08-22 17:54:10 +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