Commit graph

1402 commits

Author SHA1 Message Date
Sidhanth Rathod
28db7c752e
Update README.md 2022-10-24 08:56:34 +05:30
Martin Braun
08e675b356 Add .luarc.json to .gitignore
Using `coc-lua` with `coc.nvim` will produce a `.luarc.json` when editing own custom configs that should be excluded from NvChad, since NvChad does not maintain its own `.luarc.json`
2022-10-09 20:27:30 +05:30
Martin Braun
cdc970a9e4 Add coc-settings.json to .gitignore
One might decide to install coc.nvim which requires to maintain a custom configuration at the root of the `nvim` folder (created with the command `:CocConfig`). It is recommend to ignore the file to avoid update conflicts as NvChad does not ship coc.nvim.
2022-10-08 23:00:45 +05:30
siduck
0175082824 avoid flooding mason.nvim binaries path 2022-10-06 05:41:05 +05:30
siduck
1f34e72aff keep some gitsigns mappings only | rm 0.7v related stuff 2022-10-04 06:37:48 +05:30
Dhruvin Shah
21e9e3cb09 config(cmp): correcting completeopt setup
From the neovim doc,
In Vimscript:
    `set completeopt=menu,menuone,noselect`

In Lua using `vim.o`:
    `vim.o.completeopt = 'menu,menuone,noselect'`

In Lua using `vim.opt`:
    `vim.opt.wildignore = { 'menu', 'menuoune', 'noselect' }`
2022-09-30 21:01:46 +05:30
siduck
adc3130e83 reduce loc 2022-09-30 09:53:47 +05:30
siduck
9eebb9198c add arg to make telescope search through symlink dirs
#1609
2022-09-30 09:39:35 +05:30
Jacob E. Tuz Poot
3fe07c88ef feat: add buffer mapping for gitsigns 2022-09-30 09:33:56 +05:30
Owen
27560319cc change snippets' priority
Higher priority should be given to the user's own snippets
2022-09-25 06:36:17 +05:30
Akianonymus
74e374ef7b plugins: colorizer: Let colorizer handle the loading 2022-09-15 16:16:43 +05:30
siduck
83572cc15b move tabufline related functions to ui repo 2022-09-15 07:51:13 +05:30
Justin Lee
97062ae15f Added missing key triggers for which-key plugin 2022-09-15 05:47:49 +05:30
siduck
2e5aa786ef add an option to avoid using default plugin defintion opts (#1559) 2022-09-12 07:53:07 +05:30
siduck
8a18f89b03 install binaries from mason.nvm & tsparsers automatically after nvchad install 2022-09-11 01:07:44 +05:30
Rik034
3df9c03eb5 Fixed notify_once() call 2022-09-09 14:56:54 +05:30
siduck
871064a5da remove examples dir
https://github.com/NvChad/example_config
2022-09-09 12:36:12 +05:30
siduck
0e6ab04ed7 keep treesitter indenting enabled by default 2022-09-09 09:49:31 +05:30
siduck
e8a4158924 Support old plugin syntax too | Cleanup | Misc
use vim.notify to give deprecation warning

    use packer.use directly rather than wrapping around packer.startup

    Do some explicit type checking

Co-authored-by: Akianonymus <anonymus.aki@gmail.com>
2022-09-09 09:39:57 +05:30
siduck
d61946d3bf Simplify plugin management even more (#1518) 2022-09-09 09:39:57 +05:30
Lucario387
f0c93c8472 remove gitsigns autocmd on gitsigns load 2022-09-08 17:44:45 +05:30
Lucario387
5db641289d change jk mapping for visual mode only 2022-09-08 16:58:54 +05:30
Lucario387
d617bb5a75 fix pasting in select mode 2022-09-08 16:58:54 +05:30
Akianonymus
b34328fb41 plugins: Colorizer: Changes for new config style 2022-09-03 19:48:42 +05:30
nt
7fe754342a Remove unnecessary comment 2022-08-29 19:50:31 +05:30
siduck
bf827e0ebd fix #1516 #1517
an autocmd can be used for formatoptions and avoid using bw, read the convo at 39c42ca2bf (r82388570)
2022-08-28 09:14:09 +05:30
siduck
696559863b keep ftplugin folder git-ignored | #1510 2022-08-25 18:01:45 +05:30
Akianonymus
2b41bcd3df core: Move relavent tabufline code to NvChad/ui repo 2022-08-25 17:44:35 +05:30
Akianonymus
a23d955656 plugins: alpha: Move alpha related cmd to alpha config
this special handling of statusline should only be done if alpha plugin is used
2022-08-25 17:44:35 +05:30
Akianonymus
fe9a7b1651 core|options: Add formatoptions in options | Remove unnecessary autocmd 2022-08-25 17:44:35 +05:30
Akianonymus
9021289421 core: autocmd: Remove 'tabdo wincmd =' on VimResized
this should not be in main config, not every one wants their splits to be of equal size on resize, sometimes i want the split to of smaller size whether the screen is resized or not

this should be in used custom dir
2022-08-25 17:44:35 +05:30
Aki
4ac1ece326 Update lazy_load.lua 2022-08-24 08:19:02 +05:30
Lucario387
0f5a96028e fix: gitsigns not loading 2022-08-24 08:19:02 +05:30
siduck
a6f2f0e0b9 Breaking Change: Avoid mapping default keybind <S-b>
related to #1504 #1386, leader + b is the new key for opening new buffers now
2022-08-23 18:54:04 +05:30
Lucario387
4a5a927de8 fix: Windows User cannot load gitsigns 2022-08-21 05:27:15 +05:30
siduck
089cbe43f1 update mason filetype
https://github.com/williamboman/mason.nvim/pull/317
2022-08-20 19:05:30 +05:30
Sébastien Elet
a67e19a439 feat(init): resize panes when vim window is resized
Signed-off-by: Sébastien Elet <sebastien@elet.fr>
2022-08-20 10:16:11 +05:30
Akianonymus
130442712b Fix some lsp warnings 2022-08-19 10:46:44 +05:30
Akianonymus
5e81ae8379 utils: close_buffer: Ask for confirmation when using on modified files
neovim handles this internally so why not use it
2022-08-19 10:46:44 +05:30
Akianonymus
ce86597c3d utils: bufilter: Check for nil
it will be empty if tabufline is disabled
2022-08-19 10:46:44 +05:30
doubleChu
d9cd55fc0f make paddings in the layout can be overrided
users can adjust the padding between the top and the header, or the header and buttons.
2022-08-17 20:47:04 +05:30
Lucario387
66e2904b68 format with stylua 2022-08-15 19:24:41 +05:30
Lucario387
e0d3950f50 fix not using current file's path 2022-08-15 19:24:41 +05:30
Lucario387
14ef6759be Format with stylua 2022-08-15 19:24:41 +05:30
Lucario387
8e8d18ed8d fix: not detecting subdir in git repo 2022-08-15 19:24:41 +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
ac0faa4f8b core: options: Remove redundant code
that is shada default behaviour, why it is there ?
2022-08-14 08:52:30 +05:30
Akianonymus
0184035c15 treesitter: Do no set normal syntax highlight here
normal syntax isn't dependent on treesitter, so will be set when loading
the theme
2022-08-14 08:52:30 +05:30
siduck
5f23aaf1ca update comment.nvim mappings ( fix its breaking change )
cd1c38163d
2022-08-13 05:52:33 +05:30
Akianonymus
f2c3ed0e7d utils: mappings: Allow plugin=true in user mappings
so that they can be lazy loaded if required

https://github.com/NvChad/NvChad/issues/1467
2022-08-12 22:00:07 +05:30