Commit graph

1291 commits

Author SHA1 Message Date
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
15f20e8437 better shell setup scripting 2021-07-20 19:41:50 +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
siduck76
665fa24783
Merge pull request #166 from Akianonymus/main
Fixes
2021-07-19 21:32:50 +05:30
Akianonymus
2e1d53971e install.sh: More automation 2021-07-19 20:35:10 +05:30
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
siduck76
3669af3517
Merge pull request #165 from Akianonymus/main
Even faster startup time | Fix formatting | Misc
2021-07-19 08:54:01 +05:30
Akianonymus
1e658562f0 install.sh: Run PackerSync from script after install too
as the corresponding code for that was removed from init.lua
2021-07-19 07:20:22 +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
d257c4dd85
Update README.md 2021-07-18 23:35:25 +05:30
siduck76
4ff7208c66 lazy loading 100%!! 2021-07-18 22:11:52 +05:30
siduck76
9f1dc90269
Create README.md 2021-07-18 18:27:11 +05:30
siduck76
18a050d54f
Update README.md 2021-07-18 18:27:06 +05:30
siduck76
036fb6cd66 update readme 2021-07-18 18:23:29 +05:30
siduck76
2a9d24b4a8
Update README.md 2021-07-18 17:50:21 +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
siduck76
cb3f7538e8
Merge pull request #162 from G-Rowell/dev-fixTerm
Fix terminal config issues
2021-07-18 11:45:12 +05:30
Galen Rowell
1bedbbe5c4 Fix terminal buffer format bug, & enable escape from terminal & visual mdoes 2021-07-18 15:42:54 +10:00
siduck76
cf8b2ce1cb
Merge pull request #161 from Akianonymus/main
Code style fixes | Some saner defaults
2021-07-18 09:46:09 +05:30
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
8be8d36474
Update README.md 2021-07-17 16:44:39 +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
siduck76
c6857e2a72 modded nord theme added 2021-07-17 14:07:27 +05:30
siduck76
f0b491cd94 update truezen config 2021-07-17 01:04:13 +05:30
siduck76
5bb85b8176 trim default ts parsers list 2021-07-16 23:40:52 +05:30
siduck76
75aa73762f
Update README.md 2021-07-16 23:55:40 +05:30
siduck76
2952f4d5c7 clean stuff 2021-07-16 23:22:36 +05:30
siduck76
6f2b358d3a
Merge pull request #156 from Akianonymus/main
Major perf improvements | Handle errors | Better configs | Misc
2021-07-16 23:34:57 +05:30
Akianonymus
35b210b46a install.sh: Don't ask for terminal shell when updating | Misc
Handle a edgecase for config copying

Remove an unnecessary print
2021-07-16 21:00:28 +05:30
Akianonymus
d1f23d1bc3 [4/4] Refactor: install.sh: Don't handle packer
use +":lua require 'pluginList' vim.cmd('PackerSync')"
only for update as PackerSync should trigger on fresh install automatically
2021-07-16 20:59:17 +05:30
Akianonymus
643d1bd7d8 [3/4] Refactor: init: Use async | Move theme stuff to theme.lua
third commit of refactor

perf improvements due to async

run packer sync if base16 not found

this is not perfect error handling for initial run, but something

handle require errors
2021-07-16 20:11:08 +05:30
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
2021-07-16 20:08:46 +05:30
Akianonymus
d16ffabcfd [1/4] Refactor: plugins: Add seperate config for each plugins
first commit of Refactor

handle require errors

move config from other places to proper files

don't create a pseudo config function for no reason

https://github.com/siduck76/NvChad/pull/156#issuecomment-881453546
2021-07-16 19:36:54 +05:30
Akianonymus
0d7345bc44 Move options from init.lua => options.lua
use a local g = vim.g
2021-07-15 23:10:53 +05:30
Akianonymus
42bf581337 Disable nvim intro and tilde chars on end of buffer
This avoids the situation when the initial screen looks out of place
because there is some pre rendered text

https://github.com/neovim/neovim/pull/8546
2021-07-15 23:10:53 +05:30
siduck76
4a934e9a82 use better char for gitsigns 2021-07-15 11:09:58 +05:30
siduck76
c4a8ecf47f add bufferline highlights 2021-07-15 10:18:10 +05:30