@@ -84,7 +84,7 @@ require('lazy').setup({
84
84
85
85
-- Useful status updates for LSP
86
86
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
87
- { ' j-hui/fidget.nvim' , opts = {} },
87
+ { ' j-hui/fidget.nvim' , opts = {} },
88
88
89
89
-- Additional lua configuration, makes nvim stuff amazing!
90
90
' folke/neodev.nvim' ,
@@ -94,11 +94,11 @@ require('lazy').setup({
94
94
{
95
95
-- Autocompletion
96
96
' hrsh7th/nvim-cmp' ,
97
- dependencies = { ' hrsh7th/cmp-nvim-lsp' , ' L3MON4D3/LuaSnip' , ' saadparwaiz1/cmp_luasnip' ," rafamadriz/friendly-snippets" , },
97
+ dependencies = { ' hrsh7th/cmp-nvim-lsp' , ' L3MON4D3/LuaSnip' , ' saadparwaiz1/cmp_luasnip' , ' rafamadriz/friendly-snippets' },
98
98
},
99
99
100
100
-- Useful plugin to show you pending keybinds.
101
- { ' folke/which-key.nvim' , opts = {} },
101
+ { ' folke/which-key.nvim' , opts = {} },
102
102
{
103
103
-- Adds git releated signs to the gutter, as well as utilities for managing changes
104
104
' lewis6991/gitsigns.nvim' ,
@@ -115,7 +115,7 @@ require('lazy').setup({
115
115
vim .keymap .set (' n' , ' [c' , require (' gitsigns' ).prev_hunk , { buffer = bufnr , desc = ' Go to Previous Hunk' })
116
116
vim .keymap .set (' n' , ' ]c' , require (' gitsigns' ).next_hunk , { buffer = bufnr , desc = ' Go to Next Hunk' })
117
117
vim .keymap .set (' n' , ' <leader>ph' , require (' gitsigns' ).preview_hunk , { buffer = bufnr , desc = ' [P]review [H]unk' })
118
- end
118
+ end ,
119
119
},
120
120
},
121
121
@@ -154,10 +154,10 @@ require('lazy').setup({
154
154
},
155
155
156
156
-- "gc" to comment visual regions/lines
157
- { ' numToStr/Comment.nvim' , opts = {} },
157
+ { ' numToStr/Comment.nvim' , opts = {} },
158
158
159
159
-- Fuzzy Finder (files, lsp, etc)
160
- { ' nvim-telescope/telescope.nvim' , branch = ' 0.1.x' , dependencies = { ' nvim-lua/plenary.nvim' } },
160
+ { ' nvim-telescope/telescope.nvim' , branch = ' 0.1.x' , dependencies = { ' nvim-lua/plenary.nvim' } },
161
161
162
162
-- Fuzzy Finder Algorithm which requires local dependencies to be built.
163
163
-- Only load if `make` is available. Make sure you have the system
@@ -178,7 +178,7 @@ require('lazy').setup({
178
178
dependencies = {
179
179
' nvim-treesitter/nvim-treesitter-textobjects' ,
180
180
},
181
- build = " :TSUpdate" ,
181
+ build = ' :TSUpdate' ,
182
182
},
183
183
184
184
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
@@ -361,10 +361,10 @@ require('nvim-treesitter.configs').setup {
361
361
}
362
362
363
363
-- Diagnostic keymaps
364
- vim .keymap .set (' n' , ' [d' , vim .diagnostic .goto_prev , { desc = " Go to previous diagnostic message" })
365
- vim .keymap .set (' n' , ' ]d' , vim .diagnostic .goto_next , { desc = " Go to next diagnostic message" })
366
- vim .keymap .set (' n' , ' <leader>e' , vim .diagnostic .open_float , { desc = " Open floating diagnostic message" })
367
- vim .keymap .set (' n' , ' <leader>q' , vim .diagnostic .setloclist , { desc = " Open diagnostics list" })
364
+ vim .keymap .set (' n' , ' [d' , vim .diagnostic .goto_prev , { desc = ' Go to previous diagnostic message' })
365
+ vim .keymap .set (' n' , ' ]d' , vim .diagnostic .goto_next , { desc = ' Go to next diagnostic message' })
366
+ vim .keymap .set (' n' , ' <leader>e' , vim .diagnostic .open_float , { desc = ' Open floating diagnostic message' })
367
+ vim .keymap .set (' n' , ' <leader>q' , vim .diagnostic .setloclist , { desc = ' Open diagnostics list' })
368
368
369
369
-- LSP settings.
370
370
-- This function gets run when an LSP connects to a particular buffer.
@@ -458,7 +458,7 @@ mason_lspconfig.setup_handlers {
458
458
-- nvim-cmp setup
459
459
local cmp = require ' cmp'
460
460
local luasnip = require ' luasnip'
461
- require (" luasnip.loaders.from_vscode" ).lazy_load ()
461
+ require (' luasnip.loaders.from_vscode' ).lazy_load ()
462
462
luasnip .config .setup {}
463
463
464
464
cmp .setup {
0 commit comments