80 Commits (f7d2bacb5178f441e3d2a17bfa58140ea2891f42)

Author SHA1 Message Date
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
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
Galen Rowell f82b390aba
make cheatsheet enabled by default (#281) 3 years ago
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!
3 years ago
siduck76 cf4e0a2c53 fix plenary.nvim not loading (#256) 3 years ago
siduck76 c62e94923a add mapping cheatsheet (#244) 3 years ago
Galen Rowell 86903ab982
chore: stylua formatting update (#261)
* addded stylua config file

* chore: formatted with stylua
3 years ago
siduck76 c251f88567 update nvim-base16 repo link 3 years ago
ashincoder 7b796294a4
refact: move false to true in plugins and change disable to 'not' so that the user does'nt be confused (#257) 3 years ago
siduck76 f805cb1cbd user_config : add option to disable telescope media plugin 3 years ago
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
3 years ago
siduck76 0df87e4e72 fix telescope commands not working! (#230) 3 years ago
siduck76 a21ef38dc5 fix comment toggle mapping (#233) 3 years ago
siduck76 0efa21c9c9 add user_config 3 years ago
siduck76 b16e2bf29c
load signature.nvim after lspconfig only
https://github.com/siduck76/NvChad/pull/218#issuecomment-894633359
3 years ago
ashincoder 2795ed4fb3
Added .gitignore and lazy load lsp_signature more (#218) 3 years ago
siduck76 d4193727bd add lsp-signature.nvim (#142) 3 years ago
siduck76 f172cc8362 rm vim-startuptime 3 years ago
siduck76 12085f495c replace bufread event with bufenter ( lspinstall/lspkind ) 3 years ago
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
3 years ago
Tavo Annus 021b5c07f5 Merge branch 'main' of github.com:siduck76/NvChad into vim-fugitive 3 years ago
Tavo Annus 472278f2e3 Add vim-fugitive plugin 3 years ago
Akianonymus 936f368036 Replace tweekmonster/startuptime.vim with dstein64/vim-startuptime
because it's broken now
3 years ago
Akianonymus fcfb814594 init: Move bufferline config to pluginList.lua
plugins.bufferline should be as config of nvim-bufferline

and pluginList for packer
3 years ago
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
3 years ago
Akianonymus 05d57bba29 packerInit: Clone packer at opt path as we are lazy loading
move packadd to packerInit
3 years ago
siduck76 4ff7208c66 lazy loading 100%!! 3 years ago
siduck76 3be058da26 more lazy loaddd 3 years ago
siduck76 6d98a11dfe lazy load more plugins! 3 years ago
Akianonymus 9c1a3ad2a2 Use a different saner syntax for pcall
takes less lines, looks much better

remove neoscroll.lua, missed in 2952f4d5c7
3 years ago
siduck76 2952f4d5c7 clean stuff 3 years ago
Akianonymus 3e83ec5314 [2/4] Refactor: plugins: Handle packer seperatly | Changes for configs
eg: require "plugins.neoscroll" instead of require "plugins.neoscroll".config()

second commit of refactor

handle require errors

handle cloning of packer
3 years ago
siduck76 5ff50c63e9 fix LspInstall lazy loading (#149) 3 years ago
siduck76 df4ff8dc6f lazy load some plugins 3 years ago
siduck76 4dbb1a71e2 lazy load lsp-install 3 years ago
siduck76 0a55de407e add git clone_timeout for packer 3 years ago
siduck76 c6084220de improve config structure 3 years ago
siduck76 b16c5a2f70 autopairs parenthesis autoinsert after function completion 3 years ago
siduck76 8b4118605b add parenthesis for function completion 3 years ago
ashincoder c721db661f
updated 3 years ago
ashincoder 0d9ae5f497
updated indent-blankline branch to master
In the commit of 17a83ea765831cb0cc64f768b8c3f43479b90bbe the branch of lua was merged to master.
3 years ago
siduck76 50b00f4737 replace vim-auto-save with AutoSave.nvim 3 years ago
alternateved f1662951d1 Update TrueZen.nvim after repository changed address 3 years ago
siduck76 50321ad4a0 change some mappings 3 years ago
siduck76 da50d99462 load colorizer on bufread event only 3 years ago
siduck76 ca29b38478 lazy load colorizer 3 years ago
siduck76 9da869feee replace vsnip with luasnip,clean some confs 3 years ago
siduck76 c5f5709f10 lazy loading telescope! 3 years ago
siduck76 685044335b use fzf for telescope 3 years ago