Commit Graph

154 Commits

Author SHA1 Message Date
TJ DeVries
8b5d48a199
rewrite: slimmer, trimmer and more lazy kickstart.nvim (#635)
We've removed over 1/3 of the code that was in kickstart previously,
and more than doubled the amount of comments explaining every line
of code (to the best of my ability).

kickstart now properly uses many of the lazy.nvim config and loading
idioms, which should be really helpful for people moving both to
modular configs, as well as extending the kickstart config in one file.

Additional features:
- Beautiful ascii art
- Added some documentation that explains what is an LSP, what is telescope, etc
- There is now a `:checkhealth` for kickstart, which checks some basic information
  and adds useful information for maintainers (for people cloning the repo).
- Improved LSP configuration and tool installation, for easier first time startup
- Changed init.lua ordering, so that it moves from simple options to complicated config

```
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Lua                              1            108            404            298
-------------------------------------------------------------------------------
```
2024-02-26 10:03:53 -05:00
rgarber11
7af594fd31
Add Build Step to LuaSnip (#611) 2024-02-05 13:49:19 -05:00
Micah Effiong
bc4ad1218b
feat: added contexts for code action - source fix-all errors (#599)
* feat: added contexts for code action - source fix-all errors

* fix: resolve stylua checks

* fix: resolve stylua checks
2024-02-02 15:24:46 -05:00
Nazar
b115814916
Add Onedark Style (#590)
* Add style options to Onedark setup (init.lua)

* stylua init.lua

* Load onedark through `require`

* Improve commenting
2024-01-29 13:52:50 -05:00
Victor Bertin
deaafcf549
Set status line theme to the global colorscheme (#600) 2024-01-29 07:48:14 -05:00
Sreejith I V
2510c29d62
Removed duplicate line (#583) 2024-01-10 09:36:33 -05:00
Mohamad Alamin Yassin
c11afa2f90
Add Missing Fields to Treesitter Config to Resolve Warnings (#582)
This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements.
2024-01-08 12:17:01 -05:00
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
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
Shashwat Agrawal
76c5b1ec57
feat(cmp): path completion feature (#536) 2023-12-08 08:14:06 -05:00
Damjan 9000
3824342d10
Adds two essential telescope keymaps (#528)
* Added keymap for select Telescope picker

* Added keymap for search in all open files
2023-12-04 10:45:01 -05:00
Damjan 9000
f8c8b08bc1
Add gitsigns recommended keymaps (#531)
* Import gitsigns README.md recommended keymaps (and apply stylua)

the previously added visual mode for ]c [c is kept.

* Add gitsigns keymap descriptions
2023-12-04 10:35:54 -05:00
Damjan 9000
12bd68e8b9
Run stylua (#525) 2023-12-03 14:23:39 -05:00
Tommy Williams
ee9790b381
option to reduce noisy Lua_LS's missing-fields warnings (#511) 2023-11-24 11:55:19 -05:00
j-hui
711e5976dd init.lua: remove 'legacy' tag from fidget.nvim 2023-11-13 15:46:34 -05:00
Shashwat Agrawal
af4f51b2cd fix(auto-completion): ensure first menu item is selected by default 2023-11-11 20:31:05 +05:30
Damjan 9000
c8dd8e7e0c init.lua: minor edits of section comments for consistency 2023-11-07 11:27:14 +01:00
Damjan 9000
f23484cf88 init.lua: move diagnostic keymaps together with other keymaps 2023-11-07 11:18:15 +01:00
Sebastian Lara Menares
1d14453024 Live Grep from Git root falls back to cwd on special buffers 2023-11-06 22:29:05 -03:00
Sebastian Lara Menares
5ce4f38e1e change keymap to not disrupt existing users of Search by Grep 2023-11-06 15:29:09 -03:00
Sebastian Lara Menares
0fda9af7c9 add Telescope live_grep on Git root 2023-11-06 11:10:16 -03:00
Theo P
5d8921990b feat(lsp): use Telescope builtin functions for LSP definition and type
definition
2023-10-13 16:22:02 +09:00
Alvaro-Kothe
db7189f35c Fix help for indent-blankline plugin
Since version 3 `:help indent_blankline` no longer works. Replace it
with `:help ibl`.
2023-10-10 20:02:44 -03:00
Ashraf Michail
01ed2525bb Fix bash errors 2023-10-08 00:25:27 +00:00
Anthony Fiddes
36224daa1b Move mason setup up further
This helps if a user needs to find a mason executable
2023-10-07 16:14:26 -07:00
Anthony Fiddes
6ffc5a169f Fix Mason setup issue and run stylua. 2023-10-06 16:25:57 -07:00
Ashraf Michail
4d5f24d6c1 Defer Treesitter setup to improve startup time of nvim {filename} 2023-09-30 00:35:22 +00:00
Chris Patti
daf2dc38fc
Merge pull request #438 from tcld/which_key_documentation
Which key documentation and 2-3 changed keybindings
2023-09-29 15:29:20 -04:00
Lukas Reineke
7a58588a92 fix: fix indent-blankline config 2023-09-28 23:11:05 +09:00
Emmanuel Chucks
878ec12318
fix(init.lua): indent blankline v3 setup 2023-09-28 05:57:53 +00:00
tcld
0340f77200 Add documentation for custom which-key groups 2023-09-24 10:24:33 +02:00
Christopher Gillis
8443853cfe
Remove extra "r" Search Resume description 2023-09-23 12:10:51 -04:00
Chris Patti
6453352e25
Merge pull request #404 from e-aakash/lsp-goto-implementation
Use telescope for goto implementation
2023-09-07 02:29:31 -04:00
Chris Patti
c010cc71d5
Merge pull request #406 from gangelop/git-keymaps
Revert gitsigns keymaps but fix vimdiff and fugitive conflict
2023-09-06 16:58:20 -04:00
Dilshod Temirkhodjaev
ac9b167860
Add telescope search resume key binding 2023-09-04 17:36:28 +05:00
George Angelopoulos
a347bb401e treesitter: ensure 'javascript' installed along with typescript and tsx
This parser is actually needed for some *JSX* parsing, and since
typescript and tsx are already getting installed, it makes sense to
also install the javascript parser.
2023-08-27 06:48:22 +03:00
George Angelopoulos
38a0f03231 Revert gitsigns keymaps but fix vimdiff and fugitive conflict
Originally, the keymaps for jumping to next and previous git hunks were
]c and [c. This was changed in #323 (83b65a1) because they overwrote the
built-in vimdiff keymaps.

However, the more traditional solution is to have ]c and [c *extend* the
built-in keymap. This is what fugitive and gitgutter have been doing for
years.

Gitsigns doesn't do this by itself, but it has a recommended keymap
configuration on which the present patch is based:

	https://github.com/lewis6991/gitsigns.nvim#keymaps

The only thing I've added is to have the keymaps work in visual mode as
well, which is the same behavior as the built in vimdiff keymaps.
2023-08-22 07:17:15 +03:00
Chris Patti
1283a0bbe7
Update init.lua
Fix typo in original.

Co-authored-by: Luis G Estrades <luisgarciaestrades@gmail.com>
2023-08-21 17:19:13 -04:00
E. Aakash
f00ff6f6ab Use telescope for goto implementation 2023-08-20 14:43:34 +05:30
Smig
d0b47ce958
Update init.lua
added a URL to the lua-guide
may help others who miss the :help lua-guide
2023-08-10 15:00:15 -04:00
daan
a4ec83a433
fix: missing comma 2023-08-06 16:27:05 +01:00
Peter Benjamin
8ee4d24b36
fix: fix brackets 2023-08-05 17:31:01 -07:00
Peter Benjamin
b06980a8da
fix(init): turn telescope-fzf-native into a dependecy 2023-08-05 17:28:18 -07:00
Ikko Eltociear Ashimine
c2fb482ec1
Fix typo in init.lua
releated -> related
2023-07-31 02:46:27 +09:00
Merel Jossart
734cc4e94a Fix bug when server not explicitely defined in configuration but installed 2023-07-25 18:30:47 +02:00
Numkil
29aa5bf42d setup more language servers i use + allow customizing filetypes 2023-07-24 21:57:36 +02:00
Andrew Stewart
31f867a699
Remove timeout 2023-07-17 10:21:44 -04:00
Dheepak Krishnamurthy
957655ddb8 Make init.lua copy-paste friendly 2023-07-01 12:40:08 -04:00
ilian
d8b3b774bb Fix typo in ignorecase comment
In order to perform a case-sensitive search with ignorecase, the pattern
should contain `\C` instead of `/C`.
2023-06-18 16:25:55 +02:00
Gavin
ac07c5c59c Add legacy tag to fidget to avoid deprecation warning 2023-06-14 17:21:26 -04:00
Chris Patti
5125fd927a
Merge pull request #337 from nvim-lua/enable_python_indent 2023-06-07 21:46:49 -04:00
Chris Patti
e6cb90b2b3 Fixes #336 - Enabale treesitter indent for Python
Tested in my local configuratoin. Indenting works great.
2023-06-07 20:41:30 -04:00
Chris Patti
5e4d24cb2f Revert "Refactor theme and status line into their own file"
This reverts commit cdaa750c86.
2023-06-04 16:10:59 +00:00
Chris Patti
cdaa750c86 Refactor theme and status line into their own file 2023-06-03 10:11:58 -04:00
Luiz Antonio Calliari Filho
83b65a1c7d FIX: Conflict with vimdiff keybinding 2023-05-25 22:09:34 -03:00
Chris Patti
f031fa4509
Merge pull request #319 from mech-a/readme
Remove "after/" reference in README and other clean-up items
2023-05-22 16:25:22 -04:00
Gaurav Bhatnagar
8d97b11dd8 refact: remove after/ reference in readme, other clean-up items 2023-05-22 11:30:25 -07:00
Gaurav Bhatnagar
8e8ba26a96 refact: add cmp comments, other 2023-05-21 23:46:09 -07:00
Gaurav Bhatnagar
455691bd8d refact: stylua 2023-05-16 12:38:56 -07:00
Chris Patti
a694c380d0
Merge pull request #296 from SamPosh/patch-3 2023-05-16 15:26:14 -04:00
Chris Patti
ded185411f
Merge pull request #203 from luizcalliari/master
Features to move to diffs and show the preview values.
2023-05-15 12:25:01 -04:00
Chris Patti
ce2981db4b
Merge pull request #302 from mech-a/mech-a-patch-1
change luasnip tab jumping to locally jumpable
2023-05-15 12:12:55 -04:00
dec
fa4bf9c378 Udated tree sitter to use latest release branch 2023-05-08 11:02:37 +01:00
Gaurav Bhatnagar
2844f61d96
add local jumping to shift tab 2023-05-07 16:38:44 -07:00
Gaurav Bhatnagar
1c02cec98b
change luasnip tab jumping to locally jumpable 2023-05-07 16:28:13 -07:00
SamPosh
55c52ce45b
Added friendly snippet support 2023-05-02 16:01:46 +05:30
Victor Wallsten
efdfd6ed82
Add <C-n>, <C-p> mappings to nvim-cmp setup 2023-04-27 09:33:10 +02:00
liepieshov
0dfc159286 setup a standard binding for searching git files using telescope 2023-04-24 17:57:47 +01:00
KudoLayton
8d8fbd15bf
fix: move the Mason setup time forward from before (#210)
This commit fix the Mason [#1045](https://github.com/williamboman/mason.nvim/issues/1045) issue. Quickly set up Mason to avoid DAP-related startup error messages.
2023-04-13 09:34:06 -04:00
Sebastian Lyng Johansen
9451e1db71
fix: use :TSInstall on build with nvim-treesitter (#261) 2023-04-12 13:42:40 -04:00
Luiz Antonio Calliari Filho
e15e50edaf
Merge branch 'nvim-lua:master' into master 2023-04-10 11:36:21 -03:00
Chris Patti
7cecf4fcb1
help treesitter module has been renamed to vimdoc in master (#248) 2023-04-07 13:11:33 -04:00
Luiz Antonio Calliari Filho
986aa82cd6 FIX: Updating command description. 2023-03-12 20:45:26 -03:00
Luiz Antonio Calliari Filho
c975e0346a
Merge branch 'nvim-lua:master' into master 2023-03-07 22:36:27 -03:00
Luiz Antonio Calliari Filho
66dc5b896d Feat: Simplifying code 2023-03-06 23:26:20 -03:00
Philipp Szechenyi
4a37a0a9b1
added descriptions to Diagnostic keymaps (#191)
* Update init.lua

* Update init.lua
2023-02-27 16:37:28 -05:00
Luiz Antonio Calliari Filho
187bebcbf9 Adding [+c and ]+c to move to diffs and leader+ph to show a pop up with the preview diff value. 2023-02-26 23:03:34 -03:00
Tudor
9f384d76f4
feat: Add clipboard sync by default (#166) 2023-02-17 16:37:36 -05:00
TJ DeVries
3526fbeec9
feat: move to lazy.nvim package manager and add first plugins (#178)
Closes #175
Closes #177
Closes #173
Closes #169
Closes #161
Closes #144
Closes #138
Fixes #136
Closes #137
Closes #131
Closes #117
Closes #130
Closes #115
Closes #86
Closes #105
Closes #70
Fixes #176
Fixes #174
Fixes #160
Fixes #158
2023-02-17 16:31:57 -05:00
willsmanic
4916072854
added vim to tree-sitter's ensured installed list (#110)
please refer to https://github.com/nvim-treesitter/nvim-treesitter/issues/3092
2023-01-01 21:18:13 -05:00
amalgame21
c4d7212de3
Prevent multiple language servers from being spawned after every file save of init.lua (#96)
* Prevent multiple language servers from being spawned

Prevent multiple language servers from being spawned after every save of init.lua, which eventually leads to high RAM usage and system freeze.

* Supress error messages

add `silent!` in case of error message when nvim-lspconfig is not installed
2022-12-28 01:33:44 -05:00
TJ DeVries
521940693e
move server config to easy to extend style (#71)
Move servers to new configuration style.

I will probably cover this in a new shorter video, or maybe in combination with something else.
This should hopefully remove  getting so many people making issues about LSPs that they don't want to.

I can update documentation if what is happening is not clear.
2022-12-20 22:12:39 -05:00
TJ DeVries
aa660e64ce remove python indent: closes #78 2022-12-20 16:03:05 -05:00
Nicolas Gryman
d37a3a9462
fix: don't check third party for Lua LSP (#57)
* fix: don't check third party for Lua LSP

Co-authored-by: Sean <44933921+seantwie03@users.noreply.github.com>
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
Co-authored-by: Sean <44933921+seantwie03@users.noreply.github.com>
2022-12-19 18:01:33 -05:00
Debashis Biswas
99df0d8f66
Fix error on Windows when space in install path (#64) 2022-12-19 17:57:28 -05:00
TJ DeVries
c73aefcb21
Closes #46 2022-12-17 21:40:20 -05:00
TJ DeVries
760823f1e3
small changes to default mappings (#41) 2022-12-13 11:21:34 -05:00
TJ DeVries
e3b768619c fixup: add gitignore and style 2022-12-06 21:18:43 -05:00
Maximiliano Greco
ad0fa7daf0
enh(treesitter): add help into ensure_installed (#39)
closes https://github.com/nvim-lua/kickstart.nvim/issues/38
2022-12-06 21:11:15 -05:00
Carlo Teubner
edad895bf4
Enable parameter text objects (#36)
This seems like a natural addition. In classic Vim, I used to use https://github.com/b4winckler/vim-angry for this.
2022-11-25 13:18:01 -05:00
Elijah Manor
e80aa66671
Add optional packer plugins hook (#20)
* Add optional packer plugins hook

* Provide help in README and simplify module

* Fix spelling and tweak verbiage about after/plugin
2022-11-21 07:47:24 -05:00
TJ DeVries
e311d48c97 reformat to reduce merge conflicts and add fidget 2022-11-18 21:04:04 -05:00
zirbest
801ec6e108 fix: syntax highlights tree-sitter
- `navarasu/onedark.nvim` support both API TS* and the new one @*
- `mjlbach/onedark.nvim` is archived and not support new syntax
2022-11-18 15:19:27 -05:00
Nikolas Bertrand
489b56d0c4 lsp.update_ is deprecated 2022-11-18 15:16:33 -05:00
Sebastian Olsen
c8a1405778 fix nvim-treesitter-textobjects install warning 2022-09-26 13:34:10 -04:00
Sebastian Olsen
34ed3f0d0c Replace nvim-lsp-installer with mason.nvim 2022-09-14 14:57:30 -04:00
Ash
510ca59a6c Added cpp to treesitter and ordered TS imports 2022-09-14 14:56:31 -04:00
Vzaa
5a1a819d34 Move Telescope from master to 0.1.x branch
Follow Telescope's README suggestion and use 0.1.x branch instead of
master
2022-09-13 15:31:25 -04:00
Vzaa
32f090182a Don't pass args to vim.lsp.buf.format/formatting
Args passed by nvim_buf_create_user_command to the callback creates
errors with rust-analyzer on nvim 0.7.x and vim.lsp.buf.formatting.
2022-09-13 15:30:23 -04:00
skovati
07ba51d789 Disable telemetry for sumneko lua lsp 2022-07-11 10:15:53 -04:00