Commit graph

1188 commits

Author SHA1 Message Date
siduck
36aeebc580 fix : luasnip not working (#1000) 2022-04-30 21:48:11 +05:30
siduck
3c282a5fd5 fix: replace vertsplit highlights wtih winseparator (#969)
From v0.7, vertsplit => WinSeparator so updated the nvimtreeversplit hl group too https://github.com/kyazdani42/nvim-tree.lua/pull/1219
2022-04-30 21:35:40 +05:30
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
siduck
c8df626776
fix (#854) 2022-04-30 15:48:45 +05:30
zbirenbaum
d16546acac fix #977 2022-04-29 19:14:50 -04:00
siduck
263dcc0115 make statusline separator style customizable | fix (#995) 2022-04-30 03:57:12 +05:30
siduck
83fe03455e
fix (#989)
Prevents auto-focus of nvimtree when there are multiple buffers opened and current buffer is closed
2022-04-29 22:33:18 +05:30
Arman.H
a8466ccf4c fix: set LSP mappings only for buffers that have a configured language server 2022-04-29 22:04:05 +05:30
ahhshm
83a044e903 chore: disable omnifunc 2022-04-29 21:16:43 +05:30
zbirenbaum
95951c86a9 add back ability to remove plugins 2022-04-29 10:40:36 +05:30
zbirenbaum
36a25ded76 fix <leader>x not closing nvim-tree 2022-04-28 04:06:38 -04:00
zbirenbaum
aa4bab9605 fix group comments regression 2022-04-28 03:58:35 -04:00
siduck
08da7f6698 clean mappings.lua 2022-04-28 04:34:14 +05:30
siduck
db18d5f356 add better way to change default options
check http://localhost:3000/config/Custom%20config#change-default-options
2022-04-28 04:03:48 +05:30
siduck
6750dee431 load missing override functions for cmp/devicons 2022-04-28 03:41:36 +05:30
siduck
adecbe719f BREAKING CHANGE | re-implementation of custom config 2022-04-27 21:12:28 +05:30
zbirenbaum
1c8a677024 Fix #938 2022-04-14 13:57:11 -04:00
c-my
bc05e4be08 fix: move option "nvim_tree_indent_markers" to setup 2022-04-11 05:41:24 +05:30
Justin Perez
6061f9455d Typecheck return value of chadrc; propagate errors
* Don't blindly assume the only way `require "custom/chadrc.lua" can
  fail is that the file doesn't exist.
* Provide user with a more useful message when return value is wrong
2022-04-10 17:48:10 +05:30
guoliang
3d78ef3474 fix: insert mode nav shortcut 2022-04-10 17:46:16 +05:30
siduck
3585ae3dfd use better keybinds for spawning terms 2022-04-10 15:42:46 +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
4a888ad037 add float term mappings and config 2022-04-09 01:32:27 -04:00
zbirenbaum
d7522a940d add disable option for statusline hide au 2022-04-09 08:49:19 +05:30
Arman.H
b21defd4e4 refactor: remove unnecessary mapping 2022-04-07 21:57:11 +05:30
zbirenbaum
03563f30cc add new location option for chadterm 2022-04-02 14:33:45 +05:30
siduck
232b453c29 avoid using default mapping for copying 2022-04-01 19:36:29 +05:30
siduck
af22bee84a use previous split ratio for horizontal term buffer 2022-04-01 13:06:14 +05:30
siduck
bf89f0bf5f fix typo in mapping 2022-04-01 12:54:37 +05:30
siduck
63d54926a4 add mappings to spawn nobufflisted terms 2022-04-01 11:47:05 +05:30
siduck
4ca8d781cf add option to enable inbuilt plugins (#919) (#914) 2022-03-31 12:52:23 +05:30
zbirenbaum
e328b86336 add terminal customizations options to default config 2022-03-31 06:51:36 +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
6e9c78d1af avoid using default keymap (#910) 2022-03-26 22:20:39 +05:30
tuberry
47e4f0361f fix: let hl_override be compatible with custom themes
load `hl_override` after the theme
2022-03-26 19:58:29 +05:30
tuberry
ec5017126c feat: support themes other than defaults
Try to activate a theme if not presented in defaults. Accordingly,
add the option `ui.colors` to provide the missing `hl_theme*` in
the custom theme.
2022-03-26 16:00:31 +05:30
zbirenbaum
958a62bc67 fix nvimtree vim globals not having any effect 2022-03-24 21:28:11 +05:30
siduck
75dbf5027d fix dashboard not showing | (#888) 2022-03-20 07:30:30 +05:30
i3cheese
229ad7e00d Fix j -> gj mapping. 2022-03-19 11:27:11 +05:30
johnsiras
ec274db8b2 Make the alpha override-abble. 2022-03-19 10:22:09 +05:30
Freyskeyd
4ad0bf1b22 Exposing on_attach to configure plugins in custom
Signed-off-by: Freyskeyd <simon.paitrault@gmail.com>
2022-03-13 18:33:51 +05:30
siduck
f58c7e7b9e fix nvimtree opening half on file open (#606) 2022-03-12 08:39:16 +05:30
socialsmoker223
1278a3b703 Imporve luasnip Tab jump behaviour 2022-03-07 22:06:13 +05:30
Daniel Boll
ef6ecab861 fix(null-ls): stop null-ls prompt for multiple formaters
add `client.resolved_capabilities.{document_formatting,document_range_formatting}` to on_attach of lspconfig in order to eliminate null-ls prompt for 2 formaters. Not tested with more formaters like in python, I'd say that then it'll prompt still

Signed-off-by: Daniel Boll <danielboll.academico@gmail.com>
2022-03-07 19:18:14 +05:30
siduck
e1cdf92a01 clean nvimtree config
recently nvimtree had some updates regarding these options moving into the setup table of its config and these were the default ones so i removed it!
2022-03-02 14:43:29 +05:30
siduck
ac392cd29b misc
cb531cd90b
2022-03-02 14:36:21 +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
Ruben Verheyden
5ec6112a59 fix for (#844) Replace-paste at end of line incorrect 2022-02-27 18:25:06 +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
zbirenbaum
76d194b141 fix for getting config settings from plugin table 2022-02-20 11:46:06 +05:30
siduck
ceaf02e0bf replace dashboard with alpha.nvim (#816) 2022-02-20 11:44:43 +05:30
zbirenbaum
c1e372e2cd fix autocmd breaking term plugins 2022-02-20 08:08:06 +05:30
siduck
9ca0af1a24 disable nvimtree hijack on buffers
https://github.com/kyazdani42/nvim-tree.lua/issues/992
2022-02-17 19:45: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
Felix Kratz
ca481b1385 fix acid blue cursor 2022-02-11 06:57:48 +05:30
Akianonymus
e7bba86ccf plugins/colorizer: Move to our org fork 2022-02-07 20:21:11 +05:30
siduck
baaa7f0d4b fix (#793) 2022-02-06 10:16:32 +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
f4c4d8f6c6 enable snippets by default 2022-02-04 22:17:10 +05:30
siduck
70baf718d2 clean highlights definitions 2022-02-04 12:19:16 +05:30
Akianonymus
46db63749f cmp: Add border to floating docs, move completeopt inside config
format files
2022-02-04 06:12:31 +05:30
Akianonymus
5a3ac7300d plugins/lspkind_icons: Add icon for TypeParameter 2022-02-04 06:12:31 +05:30
siduck
71295f9b61 re-add lspconfig capabilities 2022-02-02 22:26:04 +05:30
siduck
3ee787fe08 remove un-needed filetype option 2022-02-02 10:07:49 +05:30
socialsmoker223
2eab84f8f1 lunasnip super-tab like mapping example from hrsh7th/nvim-cmp 2022-02-01 18:56:33 +05:30
siduck
d0ad028efc rm conflict in mappings
leader n for nummber line conflicted with leader nn
2022-01-31 14:31:21 +05:30
i3cheese
195f6f3621 Toggle relative numbers and copy to system clipboards mappings 2022-01-31 14:45:07 +05:30
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
d8dabe9e5e defer and restore shada 2022-01-31 10:40:36 +05:30
zbirenbaum
bd98d76ad6 improve startup time with shada load deferral 2022-01-31 09:03:20 +05:30
zbirenbaum
e87c10f225 fix for removals 2022-01-31 08:07:09 +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
i3Cheese
a3a5b506de fix empty snippets 2022-01-31 06:21:33 +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
emincanozcan
ddd13df5af Fix typo 2022-01-23 06:22:30 +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
bad06dc44f mappings: Allow to remove plugin mappings in chadrc
This enables us to disable a plugin mappings individually

for eg:
  M.mappings.plugins = {
      telelscope = {
          find_hiddenfiles = false
      }
  }

  This will disable the telelscope find_hiddenfiles mapping.

It's also helpful when we want to use the mapping used by find_hiddenfiles for something else
2022-01-22 14:53:26 +05:30
Akianonymus
b86ae3b170 configs/statusline: Fix extra space before git diff removed icon 2022-01-22 14:53:26 +05:30
siduck
a0dd82a292 clean nvimtree config 2022-01-22 11:05:27 +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
82211ed829 updated init.lua requires to support new plugin default configuration format 2022-01-22 10:15:38 +05:30
zbirenbaum
c3beea11ee Added support for modifying specific key values in default configs via chadrc to all plugin configurations with setup table(s) 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
siduck
8f7b19f23b lazy load telescope module 2022-01-20 11:37:32 +05:30
Danilo Horta
e6223cc587 Enable FastWrap capabilities: https://github.com/windwp/nvim-autopairs#fastwrap 2022-01-12 16:45:51 +05:30
siduck
b1338beb0f add option to toggle lazy load for cmp and related 2022-01-11 18:43:09 +05:30
siduck
a21ee2f22f clean | organize statusline config 2022-01-11 11:42:36 +05:30
zbirenbaum
fa9f9aad0b rewrote statusline to be compartmentalized into named components and easier to understand/customize as a basis 2022-01-11 11:42:36 +05:30
siduck
8c2bbd2143 fix cursor bugging when using auto-completion #603 2022-01-11 06:14:32 +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
David Stark
ea6f2a1490 hotfix to :Telescope command flag order 2022-01-08 07:39:57 +05:30
David Stark
83ad616dd3 when finding all files via Telescope follow symlinks 2022-01-08 07:07:24 +05:30
siduck
4e54ee0081 rm hooks 2022-01-07 19:58:05 +05:30
siduck
0a546e4720 rm unused hook 2022-01-06 22:30:48 +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
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
siduck
de9b702f0e hide indentline on telescope preview window 2021-12-27 07:42:51 +05:30
ryanb-dev
688586eeec Telescope: Remove no_ignore option from find files
Prior to this change, searches through large repositories would include
files within the .gitignore, resulting in long search results and many
useless results.  This change results in find_files respecting
.gitignore and find_hiddenfiles instead being an exhaustive search over
all files within the current directory.
2021-12-27 08:05:07 +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
60212005cb statusline: Refresh after BufRead too
sometimes events like BufEnter, BufWinEnter, etc are not enough for triggering a refresh, like opening nvim when nvimtree is not lazy load
2021-12-26 10:44:30 +05:30
siduck
19cb35d80e make nvimtree folder match its icon color 2021-12-25 10:57:25 +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
Erasin
ae90cca3f0 lua vim.diagnostic.setloclist 2021-12-23 18:43:49 +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
boppyt
dbc95e41bf fix feline with new diagnostic api 2021-12-22 22:01:38 +05:30
siduck
3a966955d4 make lspconfig mappings compatible with nvim 0.6v 2021-12-22 18:05:07 +05:30
Danilo Horta
31e551af30 Make lspconfig mappings configurable. 2021-12-19 06:17:13 +05:30
siduck
1cd5150b70 update comment toggle mappings (#658) 2021-12-16 18:55:33 +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
siduck
abcd035e89 make lsphandlers overridable 2021-12-15 20:27:54 +05:30
siduck
01f652fcc4 hide nvimtree rootdir by default 2021-12-13 18:59:14 +05:30
siduck
7c9bf9cbe3 add some options for nvimtree 2021-12-12 08:49:40 +05:30
Akianonymus
d2db2cc1cd plugin: Use Comment.nvim | Resolve #646 & #626 2021-12-11 22:54:59 +05:30
Akianonymus
2293b16709 Cleanup | Format files
* fix some lint warnings
* remove some unneeded code
2021-12-11 11:58:52 +05:30
siduck
773d25980c fix blank telescope results title (#638) 2021-12-09 05:59:15 +05:30
siduck
01babafd72 add option for fillchars 2021-12-08 12:30:16 +05:30
siduck
2a8afcb7b6 rm theme toggler config 2021-12-07 14:06:34 +05:30
siduck
310d84d47f
Merge branch 'main' into dev 2021-12-07 13:59:11 +05:30
Deneir Uy
97572ee1bb Fix LSP diagnostic icons 2021-12-07 13:51:49 +05:30
siduck
03d55e94a4 update highlights for lsp diagnostics 2021-12-04 23:06:07 +05:30
siduck
84c3a18fab include telescope highlights for transparency 2021-12-04 21:38:30 +05:30
siduck
6347a00023 add mapping, highlights for keybind cheatsheet | disable indentline in it 2021-12-04 21:04:04 +05:30
siduck
653a2f5337 add flat look to telescope | disable gitignore on nvimtree 2021-12-04 20:42:44 +05:30
siduck
9e8af5ad93 include NvimTreeNormalNC for transparency | add #608 2021-11-24 20:08:11 +05:30
siduck
067c6cc7fc
Delete example_init.lua 2021-11-19 09:28:09 +05:30
siduck
7114ebd945
Delete example_chadrc.lua 2021-11-19 09:27:55 +05:30
siduck
b4da490138 gitignore custom dir | add example configs 2021-11-19 07:44:06 +05:30
siduck
5c69d46dd6 rm unused config in nvimtree | include vim highlighting support by default 2021-11-19 07:17:09 +05:30
Daniel Cardona Rojas
07b4d19b8f feat(nvimtree): exclude terminal from window picker 2021-11-17 20:38:34 +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
1567a9c73a use tbl_deep_extend to merge configs | rm other functions 2021-11-15 21:39:35 +05:30
siduck
e8b919723e add cheatsheet.nvim 2021-11-14 18:23:59 +05:30
siduck
bdd6dc12c2 restructure | clean default_config 2021-11-14 12:43:36 +05:30
siduck
5db36d44fb restructure highlights.lua 2021-11-14 06:57:49 +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
b4c50fa443 misc change in override function 2021-11-13 22:26:38 +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
siduck
c5fe1f711e add : option to load autopairs sequentially (#584) 2021-11-05 20:04:52 +05:30
siduck
4b2bbe5d1c update configs for nvimtree and autopairs 2021-10-30 15:48:44 +05:30
siduck76
6e3e0bf029 fix luasnip incorrect path (#526) 2021-10-28 06:04:50 +05:30
siduck76
0e493bcacc add telescope title highlights 2021-10-27 12:10:13 +05:30
siduck76
068ae08f6c avoid using cmp disable var for autopairs (#567) 2021-10-22 05:47:35 +05:30
Andrew Balmos
67962828bb Add smartcase option 2021-10-22 05:47:54 +05:30
siduck76
56d05ac9d9 rm matchparen highlight (#557) 2021-10-21 14:21:50 +05:30
siduck76
003038b2a7 rm : doc lines from signature.nvim popups 2021-10-21 09:12:31 +05:30
siduck76
eefee5e17d clean config for inactive statusline 2021-10-17 11:28:47 +05:30
max397574
16a0c97fc9 fix: use better name for mapping 2021-10-16 21:26:30 +05:30
Akianonymus
9a45bb3f20 fix: Disabling shortline from chadrc
missed in 317eedd9b2

chore: format files
2021-10-14 11:08:23 +05:30
siduck76
1b4a67a1e1 nvimtree: disable updating cwd on focused files (#546) 2021-10-11 16:46:34 +05:30
siduck76
a24a65ab6b update : nvimtree diagnostic config 2021-10-11 09:55:44 +05:30
siduck76
fb9c54bc5d add: highlight color for NvimTreeNormalNC 2021-10-10 07:41:47 +05:30
Ay355
cb977a5313 fix: use of left/right arrow keys in insert mode
This allows the left and right arrows to move between lines in insert mode.
2021-10-09 17:45:12 +05:30
siduck76
1b44d4f2b9 add : highlight color for matchparen 2021-10-09 12:10:09 +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
d221504482 add: cmp highlight groups 2021-10-09 10:03:49 +05:30
max397574
1ec9f80bdb fixed formatting 2021-10-09 10:23:10 +05:30
max397574
1af5510d03 fix cmp use correct function 2021-10-09 10:23:10 +05:30
max397574
8a426b9e62 fix cmp use new function 2021-10-09 10:23:10 +05:30
max397574
40554c80ad fix: new function to check for cmp completitions 2021-10-09 10:23:10 +05:30
peppapig450
5799af49e2 Fix another grammar mistake in example_init.lua 2021-10-08 05:43:10 +05:30
Sravanth C
d47fcda9ef add: ttf, woff, woff2 icons 2021-10-07 06:25:28 +05:30
Sravanth C
5aa370e375 feat: robots.txt icon
- added robots.txt font glyph for nvim-web-dev-icons
2021-10-07 06:25:28 +05:30
peppapig450
7449c9e4f6 fix spelling/grammar in the example files 2021-10-07 06:23:42 +05:30
siduck76
86d92a2fd2 update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig 2021-10-05 06:59:00 +05:30
Ashin Antony
7d5a15f7ce
fix(CI): CI bug fixed | docs: Added charity contribution link (#532)
* fix: Fix stylua CI formatter | add charity link

Update format.yml

* chore: format with stylua

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-04 10:11:57 +05:30
Ashin Antony
b2cd5e38f5 fix: fix issue #455.
1. Show line diagnostics have been changed to `ge`. Since there are keybindings starting with g. Also `ge` is fast very useful for this reason.
2021-10-02 12:16:21 +05:30
Akianonymus
2356ba069e fix: #501 | delay when use d in visual mode
only if copy_del = false
2021-10-02 12:13:56 +05:30
Akianonymus
585266dcef fix: Packer blank window on PackerSync 2021-10-02 11:24:14 +05:30
Akianonymus
d810cc35a7 chore: format files 2021-10-02 11:24:14 +05:30
Akianonymus
317eedd9b2 feat: Make short statusline toggleable from chadrc 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
bd1319895d rm : unused function in bufferline config 2021-10-02 07:52:46 +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
1c9b5b46e4 rm : outdated lspconfig in example_chadrc 2021-10-01 05:14:02 +05:30
github-actions[bot]
bcb4b15669 chore: format source code 2021-09-30 04:23:09 +00:00
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
Galen Rowell
94b01be483 fix: default_config var plugin -> plugins instead 2021-09-27 13:41:31 +05:30
siduck76
f2a0051aa9 fix : clean nvim-tree config 2021-09-27 12:07:32 +05:30
siduck76
548e4e4a9d fix : typo of nvimtree size 2021-09-27 11:19:19 +05:30
github-actions[bot]
962c2bfe69 chore: format source code 2021-09-27 11:19:19 +05:30
Justin MacCarthy
1cd3faffb3 Moved more setting into the setup, in line with the changes in NvimTree 2021-09-27 11:19:19 +05:30
siduck76
cb3c5682a8 fix : make inactive statuslines as thin lines 2021-09-26 23:48:25 +05:30
siduck76
f65338092d feat : window title option 2021-09-26 18:47:12 +05:30
siduck76
ac28a9f99e fix : shortline for small screens (#468) 2021-09-26 15:53:50 +05:30
siduck76
7051afe43c fix : update nvimtree config 2021-09-26 15:40:12 +05:30
siduck76
a41ab8b830 fix : Add option to disable cmp (#482) 2021-09-26 07:21:07 +05:30
siduck76
8e0dfc1de6 fix : add path for luasnip snippets (#483) 2021-09-26 07:03:00 +05:30
siduck76
50a5bcc870 rm : vim-fugitive plugin 2021-09-25 23:11:59 +05:30
siduck76
2685ad8e30 fix : update nvimtree config 2021-09-25 22:11:27 +05:30
siduck76
e408a1168f feat: update conf for gitsigns | format stuff 2021-09-24 21:55:44 +05:30
siduck76
9e8fb9db74 feat: add overrides for more plugins | disable some by default 2021-09-24 20:47:53 +05:30
siduck76
a820c3cafd fix : typo in default_config.lua 2021-09-24 19:12:44 +05:30
siduck76
595be18680 feat : option to disable git status on nvimtree (#487) 2021-09-24 19:07:24 +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
ee586047e5 feat: improve mappings, move custom/init.lua & chadrc.lua -> custom/example_init.lua & example_chadrc.lua 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
Galen Rowell
a5a5a8220c refactor: clean & small reorgnaisation of default_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
Morten Olsen
eced5f2ec4 feat: Hook based overrides 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
github-actions[bot]
1658bf9fc6 chore: format source code 2021-09-19 14:36:13 +00:00
ayushjaipuriyar21@gmail.com
c84f3cd6cf ignore node_module folder in telescope 2021-09-19 20:05:58 +05:30
github-actions[bot]
1b2473bb9c chore: format source code 2021-09-17 13:06:32 +00:00
siduck76
62538e0b37 clean dashboard config 2021-09-17 18:15:06 +05:30
siduck76
61b6eda6af add light theme in theme toggler 2021-09-16 14:20:13 +05:30
siduck76
a52382c6fa fix dashboard ascii spacing 2021-09-14 23:47:37 +05:30
siduck76
256ba205e1 rm un-needed separator from statusline 2021-09-14 09:31:48 +05:30
siduck76
67e1038b59 update felin.nvim config 2021-09-11 11:07:04 +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
siduck76
2309f7c249 Update statusline.lua 2021-09-09 08:45:15 +05:30
Akianonymus
85117ef95e statusline: feline: Use default git provider
now it handles dirs too

092442db0c
2021-09-09 08:45:15 +05:30
siduck76
f73ba68c08 move highlight themes to base16 repo 2021-09-09 08:10:12 +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
fe84f3952d add onejelly theme 2021-09-08 19:03:29 +05:30
siduck76
d53761839d use pretty colors for jellybean theme 2021-09-08 17:56:54 +05:30
boppyt
8056b07cdc use jellybeans colors for bg 2021-09-08 16:48:28 +05:30
boppyt
f6f13908fc jellybeans: increase overall readability 2021-09-08 16:48:28 +05:30
boppyt
5c22354817 fix jellybeans theme 2021-09-08 16:48:28 +05:30
boppyt
094ad61785 add jellybeans theme 2021-09-08 16:48:28 +05:30
boppyt
ddb11c6bc1 add lfgruv theme 2021-09-07 22:06:56 +05:30
siduck76
f016bf634e fix lazyloading for autosave.nvim 2021-09-07 15:18:33 +05:30
github-actions[bot]
299ce1cde3 chore: format source code 2021-09-07 10:00:34 +00:00
Marco Mayer
1107be6417 Update feline config to new format 2021-09-07 15:30:18 +05:30
VULKAN
2ac6931c69 Auto close Nvimtree incase of quitting last buffer 2021-09-07 14:46:34 +05:30
curtain
9ee56ce229 use_lspsaga deprecated, see lsp_signature upstream commit 2021-09-07 08:56:27 +05:30
siduck76
d1777dfbdf load friendly-snippets before nvim-cmp 2021-09-07 07:07:39 +05:30
siduck76
0fece65c3f update readme 2021-09-04 17:07:36 +05:30
siduck76
53b7498d64 remove un-needed config 2021-09-04 16:59:19 +05:30
siduck76
5c71f1421b chadify blossom theme colors 2021-09-03 20:28:12 +05:30
github-actions[bot]
98b531682e chore: format source code 2021-09-03 13:57:49 +00:00
Dazai-san
472fab40cf fixed & cleaned blossom theme 2021-09-03 19:27:35 +05:30
Dazai-san
69718c7138 added bunny's blossom theme
adding rayes0's(githubname) blossom theme
2021-09-03 18:27:35 +05:30
siduck76
287b4bae9a fix typo in blankline config 2021-09-02 16:16:19 +05:30
siduck76
ba6592c4a9 use better colors for vertsplit/statuslineNc 2021-09-02 13:41:43 +05:30
siduck76
873b846d50 disable dashboard by default 2021-09-02 09:45:28 +05:30
siduck76
5742567630 avoid using globals in blankline config 2021-09-02 08:45:05 +05:30
siduck76
19e17eac58 add uwu theme 2021-09-01 19:03:34 +05:30
siduck76
a3e436d16d update blankline config 2021-09-01 10:09:02 +05:30
Marwan Mustafa
ec7b15fead fix(plugin): indentline using config instead of setup 2021-09-01 09:51:09 +05:30
github-actions[bot]
a125c388c3 chore: format source code 2021-08-31 19:02:03 +00:00
Prescott Murphy
2cf3e2cac5 Set colors for lsp diagnostics
Fixes a small issue with coloring when `diagnostics = "nvim_lsp"` is set to enhance color consistency.
2021-09-01 00:31:48 +05:30
mxzel
a12455509b fix typo 2021-08-31 21:09:01 +05:30
siduck76
56ea1714f6 fix packer compile spam on startup (#325) 2021-08-30 11:48:52 +05:30
siduck76
ad35d6b6e2 use the default close_icon in bufferline 2021-08-30 11:40:58 +05:30
siduck76
e1dfaa7a45 add default config for nvim-colorizer 2021-08-30 05:54:31 +05:30
siduck76
60db2ec626 disable some plugins by default 2021-08-29 12:20:15 +05:30
JoakoV3
7ddd394172 Changed mappings to move between windows/terminals with Ctrl+h,j,k,l 2021-08-29 10:42:15 +05:30
siduck76
28015f639c change keys for lsp signature help mapping 2021-08-29 10:04:50 +05:30
siduck76
146c0ed54f improve aquarium theme colors 2021-08-29 10:01:41 +05:30
Frenzy
1dacbeb462 Added Aquarium 2021-08-29 09:46:28 +05:30
siduck76
df9a780846 change mapping keys for nvimtreefocus 2021-08-29 08:07:02 +05:30
siduck76
5db010e870 mv luasnip config to others.lua 2021-08-28 09:39:38 +05:30
siduck76
d5f4c04424 add original gruvbox theme 2021-08-28 06:48:51 +05:30
siduck76
2efac1cd67 add original nord theme | rename norchad 2021-08-28 06:22:26 +05:30
Akianonymus
e800122b45 plugins/configs/cmp: Enclose in pcall 2021-08-27 18:23:48 +05:30
Akianonymus
d90747415f plugins/configs/statusline: Fix branch seperator 2021-08-27 18:23:48 +05:30
Akianonymus
cdf9250636 Hide statusline in help too 2021-08-27 18:23:48 +05:30
siduck76
6b31861aeb remove custom area from bufferline 2021-08-27 16:00:44 +05:30
ashincoder
b63e1502a5 fix: Fixing the luasnip error while tabbing 2021-08-27 15:23:20 +05:30
siduck76
0e09c3f471 rm extra space from statusline icons 2021-08-27 13:48:04 +05:30
Akianonymus
2c33e3dd38 mappings: Fix strange delete/yank/cut behaviour | Resolve #379
use mode() to detect if currently in operator pending mode, if then use normal j otherwise gj
2021-08-27 10:20:57 +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
97e155f3a2 use nerdfont glyphs for lsp progress spinners 2021-08-27 09:58:54 +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
Prescott Murphy
59ec5a5fed Correct bufferline diagnostics alternate setting
Tiny change: the correct setting is `nvim_lsp` with an underscore, not a hyphen.

https://github.com/akinsho/bufferline.nvim#lsp-indicators
2021-08-27 06:00:34 +05:30
siduck76
3c7de7a890
keep chadreload on hold for now 2021-08-26 22:59:05 +05:30
siduck76
e107e1aaf7 add space between lsp text/icon in statusline 2021-08-26 20:07:48 +05:30
Akianonymus
4e645c3c9f mappings: Change reload_config function name
changed in nvchad/extensions repo
2021-08-26 19:41:27 +05:30
Akianonymus
780142b150 plugins/configs/bufferline: Use a more unique func name quit all, to avoid conflicts
format file
2021-08-26 19:41:27 +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
66de975543 plugins/configs/statusline: Fix % icon for page position 2021-08-26 19:41:27 +05:30
Akianonymus
af597372ec plugins/configs/statusline: Remove extra space in lsp indicator 2021-08-26 19:41:27 +05:30
Akianonymus
ee981f4f4a plugins/configs/statusline: Fix git branch not appearing without opening files
* the default provider given by feline uses gitsigns which only updates when a file is opened

* code taken from: https://github.com/hoob3rt/lualine.nvim/blob/master/lua/lualine/components/branch.lua

* use gitsigns var when available

Co-authored-by: Famiu Haque <famiuhaque@gmail.com>
Co-authored-by: hoob3rt <pelczarskihubert@gmail.com>
Co-authored-by: Shadman <shadmansaleh3@gmail.com>
2021-08-26 19:41:27 +05:30
siduck76
8a21e73cc5
avoid using q! for quitting vim 2021-08-26 16:28:21 +05:30
siduck76
8f733755e8 add clickable btn for exiting nvim 2021-08-26 15:01:48 +05:30
ashincoder
80b632ee95 feat: Added lsp radial progress 2021-08-26 14:05:02 +05:30
siduck76
2f2389a31b statusline add lsp status 2021-08-26 10:59:37 +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
9635b45404 clean mappings conf 2021-08-25 20:13:47 +05:30
ashincoder
c02b1a063f feat: Added cmd for ChadReload 2021-08-25 20:10:23 +05:30
Akianonymus
9b4b288d01 utils: load_config: Use filereadable to check if file exists 2021-08-25 11:41:15 +05:30
Akianonymus
753f144d3f packerInit: Print error on clone failed 2021-08-25 11:41:15 +05:30
Akianonymus
1b2ec94b75 feat: Add copy_del and copy_cut options to config 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
siduck76
4828cfd282 add mapping for finding hidden files with telescope (#360) 2021-08-25 05:36:44 +05:30
siduck76
3dc1db884c disable some plugins by default 2021-08-25 05:11:55 +05:30
siduck76
c66fb4ff3d add diagnostics options to bufferline/nvimtree 2021-08-24 21:15:05 +05:30
siduck76
cd5433d24b fix incorrect bg in tokyonight theme 2021-08-24 15:58:33 +05:30
siduck76
bf3e9a323f make gitsigns plugin load on dir containing .git only 2021-08-24 15:37:38 +05:30
ashincoder
2f61dbfcd8 feat: Added border for lsp hover doc 2021-08-24 13:32:11 +05:30
siduck76
7d74ca4767 use default lspconfig 2021-08-24 11:01:01 +05:30
Galen Rowell
a3dbef5872 fix statusline bug, handle all Vim modes 2021-08-24 10:43:43 +05:30
Cam Cope
bce7e624e2 Add LSP code action mappings
Tested with rust-analyzer
2021-08-24 09:27:21 +05:30
Noah Lidell
fba26a3a40 commands to load fugitive 2021-08-24 09:05:06 +05:30
Kévin Dunglas
09f6c4c067 fix: don't hide dot files by default 2021-08-23 20:45:53 +05:30
siduck76
6fbb503a16 use ascending sorting : telescope (#346) 2021-08-23 17:15:29 +05:30
siduck76
ac83f1d580 add mapping to focus nvimtree (349) 2021-08-23 16:44:52 +05:30
siduck76
b2ec48ef30 avoid using global function : lspconfig 2021-08-23 16:06:02 +05:30
Akianonymus
bf3d4b31a6 Missed in previous commit 2021-08-22 17:58:48 +05:30
Akianonymus
a28a838c06 NvChad/core -> Nvchad/extensions 2021-08-22 17:54:10 +05:30
Akianonymus
a82f71334f telescope-media: Check if ueberzug is available before loading the extension 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
3ee3b0368a config: Seperate plugin and non-plugin configs 2021-08-22 17:54:10 +05:30
Akianonymus
e08a460543 config: Expose tabstop option 2021-08-22 17:54:10 +05:30
Akianonymus
aa95c05179 Remove some unneeded events when hiding statusline
dunno why cmdwinenter was there

term enter is not needed as it will handled with Buf events

use filetype events as a buffer may not trigger other events but change
the filetype
2021-08-22 17:54:10 +05:30
Akianonymus
3719521d9a Disable statusline in dashboard
need here because out custom statusline hide function doesn't care about dashboard settings
2021-08-22 17:54:10 +05:30
Akianonymus
e1d0678f6e mappings: Add PackerClean command 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
ashincoder
44ae0178f4 Change dest of bufferline since commit https://github.com/akinsho/bufferline.nvim/commit/720555e 2021-08-22 13:04:41 +05:30
siduck76
dceb6a70d4 rm mappings var from bufferline conf 2021-08-21 17:36:55 +05:30
siduck76
7a06fbb0be disable autocwd by default 2021-08-21 17:19:11 +05:30
siduck76
18705c4da4 fix plenary.nvim not installed (#307) 2021-08-21 15:45:24 +05:30
siduck76
c60df482e9
open dir with nvim (#316)
opening dir with nvim will work by default but since we have lazy loaded nvimtree , it doesnt update the cwd in nvimtree. This will fix that.
2021-08-21 13:57:15 +05:30
siduck76
83992378a4 treesitter : keep only lua parser installed by default 2021-08-21 11:28:25 +05:30
siduck76
cbb0ddc0a5 clean lspconfig 2021-08-21 11:23:20 +05:30
siduck76
b5668a037a avoid setting root_dir for lspservers 2021-08-21 11:04:07 +05:30
siduck76
6206a9e27b rm popup.nvim 2021-08-20 23:20:12 +05:30
ashincoder
b57cb6cdc0 fix: fixed error of statusline. 2021-08-20 16:49:32 +05:30
Akianonymus
b817c55542 mappings: Close buffer -> leader+x | Resolve #6
move theme toggle to leader+tt
2021-08-20 16:27:29 +05:30
Akianonymus
4c04160b87 dashboard: Fix alignment 2021-08-20 16:27:29 +05:30
Akianonymus
e15e79b519 options.lua: Merge the TermOpen autocommands 2021-08-20 16:27:29 +05:30
Akianonymus
1f6dbed26b Improve hiding/showing statusline via config 2021-08-20 16:27:29 +05:30
Galen Rowell
dbf0b56059 quickfix for not properly closing unlisted buffers, should be revised again 2021-08-20 13:02:52 +05:30
Galen Rowell
fd5d50f194 fix Dashboard docs, fix default_config issue 2021-08-20 09:29:13 +05:30
Akianonymus
3ccd804da9 utils/update_nvchad: Use --rebase instead of --ff-only 2021-08-20 01:00:46 +05:30
Akianonymus
5fab35f2e1 utils/load_config: Implement force reload of config 2021-08-20 01:00:46 +05:30
Akianonymus
f7d2bacb51 Fix theme switcher statusline reload 2021-08-20 01:00:46 +05:30
siduck76
89c371397f better colors 2021-08-20 00:28:42 +05:30
siduck76
47ab9c28a1 add no buffer icon to statusline 2021-08-19 18:13:58 +05:30
ashincoder
a49f62d3c6 feat: Added option for italic_comments 2021-08-19 18:05:54 +05:30
siduck76
112d3866a5 improve various theme colors 2021-08-19 17:44:48 +05:30
siduck76
5ae6fba20d make statusline more pretty 2021-08-19 17:35:24 +05:30
Akianonymus
7244492b36 utils/merge_table: Handle another edgecase 2021-08-19 16:52:46 +05:30
Akianonymus
224873b937 Missed in 67c6ec6 and 575dc10 2021-08-19 16:52:46 +05:30
siduck76
114d699fc5 change nvimtree rootfolder fg 2021-08-19 16:09:24 +05:30
siduck76
e75fbed322 disable transparency by default 2021-08-19 14:39:27 +05:30
siduck76
f10fb47637 add transparency option to user config 2021-08-19 14:36:49 +05:30
Akianonymus
880d4dc312 NvChadUpdater: Make update repo and url configurable | Improve logging 2021-08-19 14:19:12 +05:30
Akianonymus
4801ec86f1 Add NvChadUpdate command and shortcut for it
map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua
2021-08-19 14:19:12 +05:30
Akianonymus
7753e03b9e feat: Do not depend on user config | Fix merging of configs
because it is a user config, so our config shoudn't break even we if dont have it

use our own table merge function

move loading config to a function

use a global variable to store the config, so no need to call the table function everytime
2021-08-19 14:19:12 +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
Akianonymus
e3f0429a72 tree-wide: Format files
ugh why do people don't push formatted stuff
2021-08-19 14:19:12 +05:30
siduck76
6224ed6283 Revert "chore: update path_display (#285)"
This reverts commit 1d78add91e.
2021-08-19 13:24:35 +05:30
siduck76
32a6fd8d29 add statusline_style to chadrc 2021-08-19 12:38:50 +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
Aki
36cb57ecce
NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)
* tree-wide: Format files

ugh why do people don't push formatted stuff

* 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

* feat: Do not depend on user config | Fix merging of configs

because it is a user config, so our config shoudn't break even we if dont have it

use our own table merge function

move loading config to a function

use a global variable to store the config, so no need to call the table function everytime

* Add NvChadUpdate command and shortcut for it

map leader+uu to it

summary of what it does:

first ask the user for confirmation and tell that the updater is gonna run git reset --hard in config repo and chadrc will be restored

take backup of chadrc in a lua string and locally in a file with chadrc.bak.(random numbers)

git reset on config dir and git pull

whether success or error, restore the chadrc file

if restore fails, then print backup file path

for more deep understanding, read the comments in utils.lua

* NvChadUpdater: Make update repo and url configurable | Improvr logging
2021-08-19 12:33:11 +05:30
siduck76
623a2a0d1a default_config : add statusline separators style 2021-08-19 11:59:42 +05:30
Tuan Nguyen
1d78add91e
chore: update path_display (#285) 2021-08-19 09:36:32 +05:30
Galen Rowell
f82b390aba
make cheatsheet enabled by default (#281) 2021-08-18 19:31:02 +05:30
Galen Rowell
fa965c9797
added relativenumber option & statusline option (#279) 2021-08-18 17:43:56 +05:30
siduck76
e663122638 add bg to Floating window 2021-08-18 15:25:58 +05:30
Galen Rowell
575dc10ddc
Greatly improve terminal features! Persistent terminals (#275)
* remove toggleTerm plugin

* Adding term binds, term hider & Telescope terms to bring them back

* Adding many term features!
2021-08-18 15:43:35 +05:30
siduck76
51760c21f5 Add important notes for user , default config 2021-08-18 11:10:13 +05:30
siduck76
056fcb51f5
User config works 2021-08-18 00:33:37 +05:30
siduck76
b571fd9d40
test user config xD 2021-08-18 00:08:38 +05:30
Pocco81
0d35b9ddac
feat: added default conf and deep extension capabilities (#269) 2021-08-18 00:02:48 +05:30
Aki
98086892a7
tree-wide: Format files | Reformat chadrc | Misc (#268)
chadrc: looks cleaner this way

move close buffer to misc as it is not dependent on buffer plugin
2021-08-17 23:21:10 +05:30
siduck76
e25f30899d rename mountaineer 2021-08-17 19:13:03 +05:30
siduck76
cf4e0a2c53 fix plenary.nvim not loading (#256) 2021-08-17 12:12:33 +05:30
siduck76
c62e94923a add mapping cheatsheet (#244) 2021-08-16 22:18:08 +05:30
siduck76
eaaefc236d add one-light (#243) 2021-08-16 19:04:09 +05:30
Galen Rowell
86903ab982
chore: stylua formatting update (#261)
* addded stylua config file

* chore: formatted with stylua
2021-08-16 13:19:09 +05:30
Aki
4abf43aa99
Fixes (#259)
* Missed in 154ba7d

* utils/change-theme: Check theme name for magic chars
2021-08-16 09:18:31 +05:30
siduck76
9c134872fb rename theme name 2021-08-16 08:57:25 +05:30
siduck76
aabc3e692f update tomorrow night theme name 2021-08-16 08:43:39 +05:30
siduck76
c251f88567 update nvim-base16 repo link 2021-08-16 08:14:16 +05:30
ashincoder
7b796294a4
refact: move false to true in plugins and change disable to 'not' so that the user does'nt be confused (#257) 2021-08-16 06:16:14 +05:30
siduck76
49120177ce
Update theme.lua 2021-08-15 01:10:05 +05:30
siduck76
154ba7d419 add theme toggler (#245) 2021-08-15 00:44:55 +05:30
Sage Baram
ea0a221230
(feat) add filename edit/lock icons provider (#253)
* (feat) add filename edit/lock icons provider

* Update statusline.lua

Co-authored-by: Sage Baram <sagebaram@gamil.com>
Co-authored-by: siduck76 <siduck13@gmail.com>
2021-08-14 23:56:34 +05:30
siduck76
ebdcd4cae1 fix luasnip creating statusline errors (#250) 2021-08-14 22:35:10 +05:30
siduck76
05e587cfc0
Clean up utils 2021-08-14 22:32:32 +05:30
siduck76
e0feea9407
cleanup ! 2021-08-14 22:31:32 +05:30
Aki
c656d6a3bd
Fix theme switcher reload | Move reload_theme to utils (#252)
* rearrange functions in utils.lua alphabetically
2021-08-14 22:11:20 +05:30
Galen Rowell
e80a6935d6
Now have 3 separate terms, window, vert & hori, renamed some variables (#251) 2021-08-14 19:28:24 +05:30
siduck76
c80d79a7cc set completeopt for compe 2021-08-14 18:12:28 +05:30
siduck76
fd2aa6095f improve nav_in insertmode (#240) 2021-08-14 13:44:28 +05:30
curtain
2b331e7fa1
add some useful keymap in insert/command mode with switch to toggle (#240)
Co-authored-by: curtain <kaleidoscope@163.com>
2021-08-14 13:26:54 +05:30
siduck76
f805cb1cbd user_config : add option to disable telescope media plugin 2021-08-14 13:00:01 +05:30
Galen Rowell
91c8736146
WIP - Added toggleterm, based upon curtanips work (#237)
* Added toggleterm, based upon curtanips work
Also other various term fixes & changed term mappings

* new NvChad config to hide statusline by filetype
2021-08-13 21:29:17 +05:30
siduck76
3f44f0761a fix statusline missing after termclose (#236) 2021-08-13 13:17:41 +05:30
siduck76
c7fdd68072 statusline : add vimode colors 2021-08-13 12:12:43 +05:30
curtain
f832195a81
fix luasnip complete and move it to reasonable place (#235)
Co-authored-by: curtain <kaleidoscope@163.com>
2021-08-13 10:05:31 +05:30
siduck76
f884caa606 everforest theme : better dark color 2021-08-12 23:14:28 +05:30
siduck76
2884254afe add everforest theme (#219) 2021-08-12 23:10:00 +05:30
siduck76
0df87e4e72 fix telescope commands not working! (#230) 2021-08-12 22:23:43 +05:30
siduck76
a21ef38dc5 fix comment toggle mapping (#233) 2021-08-12 18:37:02 +05:30
siduck76
0efa21c9c9 add user_config 2021-08-12 17:28:03 +05:30
siduck76
d5c64d335e add chadracula theme 2021-08-10 20:09:55 +05:30
Iorvethe
ae30324ed4
Add theme: Dracula (#225)
* Add theme: Dracula

* Dracula theme: make black2 lighter
2021-08-10 16:49:33 +05:30
Aki
0423da189c
base16: Change syntax for new changes in base16 repo (#226) 2021-08-10 16:49:18 +05:30
siduck76
f22366eac9 truezen.nvim : update var 2021-08-09 21:30:17 +05:30
siduck76
98e2957234 add mountaineer theme 2021-08-07 20:30:17 +05:30
siduck76
b16e2bf29c
load signature.nvim after lspconfig only
https://github.com/siduck76/NvChad/pull/218#issuecomment-894633359
2021-08-07 15:33:10 +05:30
ashincoder
2795ed4fb3
Added .gitignore and lazy load lsp_signature more (#218) 2021-08-07 15:24:31 +05:30
siduck76
ea992308f1 disable tilde on end of buffer 2021-08-07 11:48:13 +05:30
siduck76
d390966b4d disable indentline in packer float window 2021-08-07 11:42:56 +05:30
siduck76
d4193727bd add lsp-signature.nvim (#142) 2021-08-07 11:25:23 +05:30
siduck76
232bb5fd7c add tokyonight theme (#215) 2021-08-06 21:25:24 +05:30
Akianonymus
a25f4fca70 Just packer shenanigans 2021-08-03 09:38:50 +05:30
Akianonymus
e0f1cb3687 theme_switcher: Handle some edgecases | Clear cmdline after default theme prompt 2021-08-03 09:00:29 +05:30
siduck76
f172cc8362 rm vim-startuptime 2021-08-02 06:48:11 +05:30
siduck76
021cf9c6f4
Merge pull request #201 from G-Rowell/dev-chadThemeSwitcher
Chad theme switcher
2021-08-01 10:35:08 +05:30
Akianonymus
af783670e4 mappings: leader+th for Telescope themes 2021-08-01 15:04:04 +10:00
Akianonymus
a6ab121d12 Implement theme switcher
using telescope picker

ask if want to change default theme, change value in user_config.lua

load it as a telescope extension

live preview of themes

Co-authored-by: Galen Rowell <growell3@gmail.com>
2021-08-01 15:04:04 +10:00
Akianonymus
7affb8cbfb Move from utils.lua to their respective places | Format all files 2021-08-01 15:04:04 +10:00
siduck76
12085f495c replace bufread event with bufenter ( lspinstall/lspkind ) 2021-08-01 10:09:51 +05:30
siduck76
5236893e5e add permanent undo (#197) 2021-08-01 09:55:28 +05:30
siduck76
e9aa4b5234
Update user_config.lua 2021-07-31 21:04:47 +05:30
siduck76
bcbde0e1a2 add theme to user_config 2021-07-31 20:44:42 +05:30
siduck76
87f3415f6f
Update mappings.lua 2021-07-28 19:53:19 +05:30
siduck76
f27f7b1502 add hl to nvimtree_rootdir 2021-07-28 19:18:03 +05:30
Galen Rowell
462a20d66a fix mapping error 2021-07-28 14:42:55 +10:00
Akianonymus
3f1e9cf37a statusline: Show lsp icon only if client is active for current buffer 2021-07-26 16:57:00 +05:30
G-Rowell
3b05354337 Use jdhao/better-escape.vim to handle jk as escape mappings
only for insert mode ( so also works on terminal too )

remove visual mode key binding, till we find a proper solution, because it is super annoying right now

Original pr here: https://github.com/siduck76/NvChad/pull/160
2021-07-26 15:14:49 +05:30
Akianonymus
268c37e52f mappings: Allow moving the cursor through wrapped lines normally
This doesn't affect any other stuff like 10j or 10k
2021-07-26 14:32:29 +05:30
siduck76
11d75cf597 better colors for javacafe theme 2021-07-25 14:53:43 +05:30
siduck76
33422b0f3a better colors for javacafe theme 2021-07-25 13:18:48 +05:30
gokul
edbd88fdb7
Added javacafe color scheme
The javacafe color scheme is my custom smash of nord and pastel colors.
2021-07-24 16:43:38 -07:00
siduck76
9157cafb61
Update telescope.lua 2021-07-25 01:31:50 +05:30
siduck76
a31d8fb228 fix telescope media files mapping #183 2021-07-24 10:11:21 +05:30
siduck76
c98334ae08 lspconfig : update diagnostics in insert mode 2021-07-24 09:59:39 +05:30
Tavo Annus
021b5c07f5 Merge branch 'main' of github.com:siduck76/NvChad into vim-fugitive 2021-07-23 20:57:32 +03:00
Tavo Annus
472278f2e3 Add vim-fugitive plugin 2021-07-23 20:22:09 +03:00
Akianonymus
92eb5ca740 Do not load packer on startup
Actually saved some milliseconds, can be observed in benchmarks too

from packer readme

```
To optimize startup time, packer.nvim compiles code to perform the lazy-loading operations you specify. This means that you do not need to load packer.nvim unless you want to perform some plugin management operations.
```

Add packer commands manually to mappings.lua, but with basic functionalty

By this, we don't losr the packer commands and don't even load at startup

After some command is actually executed, it will load the PackerCommands as they were
2021-07-23 21:58:14 +05:30
Akianonymus
6b4435caef Don't use new_async
It doesn't seem to be improving stuff as it is not supposed to

Due to the half baked stats of the startuptime plugin, people were fooled

no point in disabling filetype and whatenot

See some discussion here: https://github.com/siduck76/NvChad/issues/175
2021-07-23 21:57:14 +05:30
Akianonymus
936f368036 Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
because it's broken now
2021-07-23 20:23:02 +05:30
Akianonymus
bb04ba07cb mappings.lua: Code style fixes | Cleanup options.lua 2021-07-23 18:15:13 +05:30
Akianonymus
fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
2021-07-23 18:14:52 +05:30
siduck76
f8727f1659
Update utils.lua 2021-07-23 18:03:04 +05:30
Galen Rowell
0d69a528a8 Fix statusline issue 2021-07-22 18:04:21 +10:00
Galen Rowell
652f703767 Fix term crash bug, no auto-close finished term anymore 2021-07-22 17:45:47 +10:00
siduck76
020daec5fc
disable matchit
matchit was already disabled by default but a recent PR enabled it again , sorry for that! Since vim matchup already does what matchit does , I'll remove it.
2021-07-21 23:06:28 +05:30
siduck76
845ac0e615
Merge pull request #171 from Pocco81/dev-init
Securely call modules and disable all builtin plugin
2021-07-21 23:00:42 +05:30
siduck76
fec301504f clean stuff 2021-07-21 22:37:48 +05:30
siduck76
c1544dd020
Merge pull request #170 from Pocco81/dev-lsp
Lang servers error suppression and better "publish diagnostics" glyph
2021-07-21 22:48:44 +05:30
siduck76
08dfe17678 clean stuff | map new tab 2021-07-21 11:26:25 +05:30
Pocco81
5531edf8e4 fix: formatted code with luafmt 2021-07-20 23:20:00 -05:00
Pocco81
355178a7bb feat: secure calls + disabled all builtin plugins 2021-07-20 13:19:31 -05:00
Pocco81
1e2d299bf9 feat: suppressed error messages from lang servers and added better glyph for publish diagnostics 2021-07-20 12:38:51 -05:00
Galen Rowell
f35aa3c604 automatically close a terminal buffer if it has exited/returned 2021-07-20 20:18:10 +10:00
Galen Rowell
a6ea40d7ba open default shell terminal with proper neovim commands, fix buffer tabline issue 2021-07-20 19:38:43 +10:00
Galen Rowell
ff14ba61f9 open new buffers, instead of tabs 2021-07-20 19:36:06 +10:00
Akianonymus
2567ebaee4 telescope: Fix a bug introduced in 0023233
PackerCompile at the same time conflicts with packer sync because packer always runs in bg
2021-07-19 20:35:10 +05:30
Akianonymus
6b507c3368 init: Asynchronously load filetype and syntax
lots of improvement for startup time

Co-authored-by: Vhyrro <vhyrro@gmail.com>
2021-07-19 07:20:22 +05:30
Akianonymus
0023233eef Fix formatting | Handle a edgecase in telescope config | Misc
* fix formatting in pluginList, luasnip

* don't use pcall on highlights

* sync and compile fzf and media files only when the error occurs, add a
  help text telling tbe user to restart neovim
2021-07-19 07:19:53 +05:30
Akianonymus
05d57bba29 packerInit: Clone packer at opt path as we are lazy loading
move packadd to packerInit
2021-07-19 06:19:36 +05:30
siduck76
4ff7208c66 lazy loading 100%!! 2021-07-18 22:11:52 +05:30
siduck76
3be058da26 more lazy loaddd 2021-07-18 16:32:03 +05:30
siduck76
79f8c39dd2 Merge branch 'main' of github.com:siduck76/NvChad 2021-07-18 16:06:48 +05:30
siduck76
18f3b8b93e
map jk escape from terminal buffer 2021-07-18 16:10:23 +05:30
siduck76
6d98a11dfe lazy load more plugins! 2021-07-18 16:06:33 +05:30
Galen Rowell
1bedbbe5c4 Fix terminal buffer format bug, & enable escape from terminal & visual mdoes 2021-07-18 15:42:54 +10:00
Akianonymus
9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
2021-07-17 22:10:25 +05:30
Akianonymus
1d7602e3e4 mappings: Don't yank the text after pasting in visual mode 2021-07-17 19:09:12 +05:30
Akianonymus
dbc4979ebd Go to next/previous line with h,l,left and right 2021-07-17 19:09:12 +05:30
Akianonymus
72b9fa5018 mappings: Use ESC to clear search highlighting and to get out of terminal insert mode 2021-07-17 19:09:07 +05:30
siduck76
2c74abe936 map escape to normal mode 2021-07-17 16:13:42 +05:30
siduck76
82f07879f3 better nord colors 2021-07-17 14:20:36 +05:30
siduck76
5f7f2df2b7 minor changes 2021-07-17 14:15:14 +05:30