Commit graph

524 commits

Author SHA1 Message Date
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