Commit Graph

258 Commits

Author SHA1 Message Date
rajvatsal 47b7622fe7 feat(vatsal): Create new config vatsal
kickstart folder contains the original init.lua file. Current init.lua
gets it's config from lua.vatsal.plugins which what I created to
modularize the code and enable lazy loading.

Init to lua now loads all the plugins from vatsal.plugins
2024-01-10 15:20:47 +05:30
rajvatsal 7a5a4b0c72 fix(autoformat): Move autoformat code to lspconfig file
Autoformat file is removed and it's code is copied to config function of
lsp plugin that is inside nvim-lspconfig.lua
2024-01-10 14:48:57 +05:30
rajvatsal f50e50c89e fix(indent-blank): Fix color 2024-01-10 12:05:48 +05:30
rajvatsal d73493f878 feat(lsp): Lazy load on cmd Mason 2024-01-09 17:04:51 +05:30
rajvatsal 23e69634da feat(plugins): Add file tree, Enable Lazy loading
I've tried to lazy load most the plugins to improve start up time.
It has been greatly reduced, from more than 600ms to just around 100ms

Bug: Line that shows up when you are inside a block(block-line) doesn't
have color.
2024-01-09 16:53:14 +05:30
rajvatsal 79b55158e1 feat(lualine): Lazy load on event VeryLazy 2024-01-09 11:24:00 +05:30
rajvatsal 478552ea38 style(lualine): Move config from after to config 2024-01-09 11:16:25 +05:30
rajvatsal c0e3bb9036 style(init): Modularize entire init.lua
Now each plugin is in it's own seperate file that returns the plugin and
it's configs. This makes it simpler for me apply lazy loading to this
config.

Settings, Keymaps, Yank-highlight are inside kickstart directory within
their seperate files.
2024-01-08 18:09:07 +05:30
rajvatsal 6215c8b7ba style(init): Move everything inside config 2024-01-08 17:50:42 +05:30
rajvatsal 23d84a8a99 (alpha): Remove lazy loading 2024-01-08 13:32:48 +05:30
rajvatsal 8c9babcc4e refactor(alpha): Set header to pacman 2024-01-08 13:29:53 +05:30
rajvatsal caffac7c55 feat(none-ls): Set event = VeryLazy 2024-01-08 13:14:31 +05:30
rajvatsal bd231a1e3a refactor(colorschemes): Move ondark to colorschemes.lua 2024-01-08 12:28:40 +05:30
rajvatsal dbba1d791f feat(alpha): Change colors and header 2024-01-07 16:13:06 +05:30
rajvatsal 589fb15094 refactor(alpha): Use IIFE to inc. optimally
Increase performance by not sending unecessary objects like ascii_arts
and fortunes in the config.
2024-01-07 13:46:18 +05:30
rajvatsal 58b182d928 feat(colorbuddy): Set lazy loading to true 2024-01-07 13:02:46 +05:30
rajvatsal 0229956ba8 fix(alpha-hl): Fix highlighting for alpha elements
Lazy loading fortunes plugin fixes the highlighting in alpha elements
like header, footer etc. Highlighting is only fixed for pre-defined
highlight_groups
2024-01-07 11:50:23 +05:30
rajvatsal 781ed08574 feat(ascii): Lazy load ascii.nvim plugin 2024-01-07 11:22:02 +05:30
rajvatsal 46b5c9edd8 feat(CodeAction): Load code action only when needed
Set keys command to telescope-ui plugin which only loads the plugin when
enter code action i.e. press <leader>ca
2024-01-07 10:01:26 +05:30
rajvatsal 2227df27a4 feat(colorschemes)!: Lazy load unused colorschemes
BREAKING CHANGE: Colorschemes other than main(rose-pine) are not loaded so they
will not be available.
2024-01-07 08:55:55 +05:30
Vatsal 13f94b7ebc
Merge branch 'nvim-lua:master' into master 2024-01-06 21:30:39 +05:30
rajvatsal b5a14a7c45 feat(keymap): Don't update register when you paste over a word 2024-01-06 21:29:58 +05:30
rajvatsal 88a33c0b79 feat(alpha): Add Footer and add color to header
Footer> Random qutoes will appear each time you start a new session in
nvim
Header> Make it red
2024-01-06 21:00:03 +05:30
rajvatsal 7486e12ea2 feat(alpha): Add cat to ascii_arts 2024-01-06 16:09:34 +05:30
rajvatsal 0c45ad375a feat(alpha): Add pacman to ascii_arts 2024-01-06 13:04:34 +05:30
rajvatsal e9324d4f23 refactor(colorbuddy): Add links for a theme 2024-01-06 12:52:41 +05:30
rajvatsal 69ead78db2 feat(plugins): Add colorbuddy 2024-01-06 12:51:25 +05:30
rajvatsal 63b2024feb feat(keymaps): Add :cd %:p
If press <leader>p then move to current buffer location
2024-01-06 12:38:57 +05:30
rajvatsal e10dc4e9a9 feat(keymaps): Add :bprev and :bnext
On <leader>p open previous buffer
On <leader>n open next buffer
2024-01-06 11:04:56 +05:30
rajvatsal f59273402c refactor(alpha): Remove useless line 2024-01-05 19:26:19 +05:30
rajvatsal 41ca04755f refactor(after-plugins): Divide defaults.lua into two files
Divide defaults.lua into two files, settings.lua and lualine-config.lua
2024-01-05 19:10:28 +05:30
rajvatsal 96627e3b57 refactor(defaults): Replace 'vim.go' with 'vim.opt' 2024-01-05 18:42:41 +05:30
rajvatsal 001e4f13f9 refactor(colorschemes): Remove config in rose-pine 2024-01-05 18:30:40 +05:30
rajvatsal afdb93b9f0 feat(colorschemes): Add rose-pine 2024-01-05 18:26:50 +05:30
rajvatsal 30511c1c89 feat(none-ls): Add prettier
In defaults.lua change 'opt' to 'go'
Fix catppuccin colorscheme
2024-01-05 18:02:10 +05:30
Damjan 9000 c4055a2212
Improve stylua github workflow (#571)
Addressing issue nvim-lua/kickstart.nvim#570

This improves the github workflow to no longer require manual
approval for PRs from first time contributors.

Changes the github event from pull_request to pull_request_target
and adds an explicit PR head checkout
2024-01-03 12:30:37 -05:00
gitressa d45e5fe855
Move video up on the README.md page (#563)
To help new users get started, how about moving the video link ("Effective Neovim: Instant IDE ") right after "Post Installation"?

This way new users, can install it, and right away proceed to learn how to use it.
2024-01-03 10:03:23 -05:00
rajvatsal b3e474b0ca feat(none-ls): Add none-ls plugin for linting and formatting 2023-12-30 22:09:47 +05:30
rajvatsal da44d866c5 feat(Mason): Ensure Installed some LSP's
*LSP's: Clangd, html, tsserver, rust_analyzer
*Add telescope-ui-select pluginwhich gives a nice ui in telescope code actions
*Change alpha ascii-art
2023-12-30 20:23:54 +05:30
rajvatsal 16beeaf6fd feat(alpha): Add more ascii art
In aplha config add ascii arts alien and logo.
This commit will also change the alpha ascii art to kraken.
2023-12-26 20:56:03 +05:30
rajvatsal a989f23fb7 Merge branch 'master' of github.com:rajvatsal/kickstart.nvim 2023-12-25 16:57:29 +05:30
rajvatsal a85a4c76e8 fix(treesitter): Change compiler to zig
Treesitter used to give an error "*.so" is not a valid Win32 app.
I fixed this by installing zig and using and changing treesitter config
in init.lua to use zig to compile lang parsers
2023-12-25 16:54:20 +05:30
Vatsal 280bfc55b9
Merge branch 'nvim-lua:master' into master 2023-12-24 21:51:47 +05:30
rajvatsal 855971b59d Add ascii-art pluagin and change alpha ascii art 2023-12-24 21:49:41 +05:30
rajvatsal 5769c21dd1 Add skull ascii art 2023-12-24 21:34:53 +05:30
rajvatsal 06c133adc8 Add ascii art to start screen in alpha-nvim config 2023-12-24 20:53:33 +05:30
rajvatsal 84eba18ed8 Add dependency for alpha-nvim 2023-12-24 20:01:40 +05:30
John Pekcan 4d0dc8d4b1
fix: restore mason config timing for dap startup (#555)
Co-authored-by: John Pekcan <john.pekcan@epicgames.com>
2023-12-23 23:59:59 -05:00
rajvatsal b3a140a106 Add alpha-nvim 2023-12-23 11:33:11 +05:30
Ari Pollak e39a8bce9d
Switch cmp up mapping from C-d to C-b to match regular vim up key (#549) 2023-12-21 15:35:28 -05:00