86 Commits (e107e1aaf7f523815e6ffba25cfb9981f93d2364)

Author SHA1 Message Date
siduck76 e107e1aaf7 add space between lsp text/icon in statusline 3 years ago
Akianonymus 780142b150 plugins/configs/bufferline: Use a more unique func name quit all, to avoid conflicts
format file
3 years ago
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
3 years ago
Akianonymus 66de975543 plugins/configs/statusline: Fix % icon for page position 3 years ago
Akianonymus af597372ec plugins/configs/statusline: Remove extra space in lsp indicator 3 years ago
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>
3 years ago
siduck76 8a21e73cc5
avoid using q! for quitting vim 3 years ago
siduck76 8f733755e8 add clickable btn for exiting nvim 3 years ago
ashincoder 80b632ee95 feat: Added lsp radial progress 3 years ago
siduck76 2f2389a31b statusline add lsp status 3 years ago
siduck76 21b2680e56 Merge branch 'main' of github.com:NvChad/NvChad 3 years ago
ashincoder 7d8f6b85c7 feat: Load lspkind on insert event. 3 years ago
siduck76 80d36cca00 move to feline.nvim 3 years ago
Akianonymus 753f144d3f packerInit: Print error on clone failed 3 years ago
siduck76 3dc1db884c disable some plugins by default 3 years ago
siduck76 c66fb4ff3d add diagnostics options to bufferline/nvimtree 3 years ago
siduck76 bf3e9a323f make gitsigns plugin load on dir containing .git only 3 years ago
ashincoder 2f61dbfcd8 feat: Added border for lsp hover doc 3 years ago
siduck76 7d74ca4767 use default lspconfig 3 years ago
Galen Rowell a3dbef5872 fix statusline bug, handle all Vim modes 3 years ago
Cam Cope bce7e624e2 Add LSP code action mappings
Tested with rust-analyzer
3 years ago
Noah Lidell fba26a3a40 commands to load fugitive 3 years ago
Kévin Dunglas 09f6c4c067 fix: don't hide dot files by default 3 years ago
siduck76 6fbb503a16 use ascending sorting : telescope (#346) 3 years ago
siduck76 ac83f1d580 add mapping to focus nvimtree (349) 3 years ago
siduck76 b2ec48ef30 avoid using global function : lspconfig 3 years ago
Akianonymus bf3d4b31a6 Missed in previous commit 3 years ago
Akianonymus a28a838c06 NvChad/core -> Nvchad/extensions 3 years ago
Akianonymus a82f71334f telescope-media: Check if ueberzug is available before loading the extension 3 years ago
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.
3 years ago
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
3 years ago
siduck76 dceb6a70d4 rm mappings var from bufferline conf 3 years ago
siduck76 83992378a4 treesitter : keep only lua parser installed by default 3 years ago
siduck76 cbb0ddc0a5 clean lspconfig 3 years ago
siduck76 b5668a037a avoid setting root_dir for lspservers 3 years ago
ashincoder b57cb6cdc0 fix: fixed error of statusline. 3 years ago
Akianonymus 4c04160b87 dashboard: Fix alignment 3 years ago
Galen Rowell fd5d50f194 fix Dashboard docs, fix default_config issue 3 years ago
Akianonymus f7d2bacb51 Fix theme switcher statusline reload 3 years ago
siduck76 89c371397f better colors 3 years ago
siduck76 47ab9c28a1 add no buffer icon to statusline 3 years ago
siduck76 5ae6fba20d make statusline more pretty 3 years ago
siduck76 f10fb47637 add transparency option to user config 3 years ago
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
3 years ago
Akianonymus e3f0429a72 tree-wide: Format files
ugh why do people don't push formatted stuff
3 years ago
siduck76 6224ed6283 Revert "chore: update path_display (#285)"
This reverts commit 1d78add91e.
3 years ago
siduck76 aa8df57cae Revert "NvChad Updater | Chadrc Fixes | Cleanup and Formatting | Misc (#288)"
This reverts commit 36cb57ecce.
3 years ago
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
3 years ago
siduck76 623a2a0d1a default_config : add statusline separators style 3 years ago
Tuan Nguyen 1d78add91e
chore: update path_display (#285) 3 years ago