Commit Graph

276 Commits

Author SHA1 Message Date
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
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
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
siduck76
86d92a2fd2 update : capabalities cmp stuff in lspconfig | load cmp_lsp after lspconfig 2021-10-05 06:59:00 +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
585266dcef fix: Packer blank window on PackerSync 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
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
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
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
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
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
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
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
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
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
53b7498d64 remove un-needed config 2021-09-04 16:59:19 +05:30
siduck76
287b4bae9a fix typo in blankline config 2021-09-02 16:16:19 +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
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
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
28015f639c change keys for lsp signature help mapping 2021-08-29 10:04:50 +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
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
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
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
e107e1aaf7 add space between lsp text/icon in statusline 2021-08-26 20:07:48 +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
Akianonymus
753f144d3f packerInit: Print error on clone failed 2021-08-25 11:41:15 +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
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
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
siduck76
dceb6a70d4 rm mappings var from bufferline conf 2021-08-21 17:36:55 +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
ashincoder
b57cb6cdc0 fix: fixed error of statusline. 2021-08-20 16:49:32 +05:30
Akianonymus
4c04160b87 dashboard: Fix alignment 2021-08-20 16:27:29 +05:30
Galen Rowell
fd5d50f194 fix Dashboard docs, fix default_config issue 2021-08-20 09:29:13 +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
siduck76
5ae6fba20d make statusline more pretty 2021-08-19 17:35:24 +05:30
siduck76
f10fb47637 add transparency option to user config 2021-08-19 14:36:49 +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
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
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
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
c62e94923a add mapping cheatsheet (#244) 2021-08-16 22:18:08 +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
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
Galen Rowell
e80a6935d6
Now have 3 separate terms, window, vert & hori, renamed some variables (#251) 2021-08-14 19:28:24 +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
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
f22366eac9 truezen.nvim : update var 2021-08-09 21:30:17 +05:30