Skip to content

Commit 628445f

Browse files
committed
aded neo-tree and lsp supports
1 parent 7790c13 commit 628445f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

init.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ require('lazy').setup({
255255
-- require('Comment').setup({})
256256

257257
-- "gc" to comment visual regions/lines
258-
{ 'numToStr/Comment.nvim', opts = {} },
258+
{ 'numToStr/Comment.nvim', opts = {} },
259259

260260
-- Here is a more advanced example where we pass configuration
261261
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
@@ -290,7 +290,7 @@ require('lazy').setup({
290290
-- after the plugin has been loaded:
291291
-- config = function() ... end
292292

293-
{ -- Useful plugin to show you pending keybinds.
293+
{ -- Useful plugin to show you pending keybinds.
294294
'folke/which-key.nvim',
295295
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
296296
config = function() -- This is the function that runs, AFTER loading
@@ -342,7 +342,7 @@ require('lazy').setup({
342342
{ 'nvim-telescope/telescope-ui-select.nvim' },
343343

344344
-- Useful for getting pretty icons, but requires a Nerd Font.
345-
{ 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },
345+
{ 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },
346346
},
347347
config = function()
348348
-- Telescope is a fuzzy finder that comes with a lot of different things that
@@ -435,11 +435,11 @@ require('lazy').setup({
435435

436436
-- Useful status updates for LSP.
437437
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
438-
{ 'j-hui/fidget.nvim', opts = {} },
438+
{ 'j-hui/fidget.nvim', opts = {} },
439439

440440
-- `neodev` configures Lua LSP for your Neovim config, runtime and plugins
441441
-- used for completion, annotations and signatures of Neovim apis
442-
{ 'folke/neodev.nvim', opts = {} },
442+
{ 'folke/neodev.nvim', opts = {} },
443443
},
444444
config = function()
445445
-- Brief aside: **What is LSP?**
@@ -879,7 +879,7 @@ require('lazy').setup({
879879
'nvim-treesitter/nvim-treesitter',
880880
build = ':TSUpdate',
881881
opts = {
882-
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
882+
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc', 'vue' },
883883
-- Autoinstall languages that are not installed
884884
auto_install = true,
885885
highlight = {
@@ -921,7 +921,7 @@ require('lazy').setup({
921921
-- require 'kickstart.plugins.indent_line',
922922
-- require 'kickstart.plugins.lint',
923923
-- require 'kickstart.plugins.autopairs',
924-
-- require 'kickstart.plugins.neo-tree',
924+
require 'kickstart.plugins.neo-tree',
925925
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
926926

927927
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`

lua/kickstart/plugins/neo-tree.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ return {
1111
},
1212
cmd = 'Neotree',
1313
keys = {
14-
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
14+
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
15+
{ '<leader>e', ':Neotree toggle<CR>', desc = 'NeoTree toggle', silent = true },
1516
},
1617
opts = {
1718
filesystem = {

0 commit comments

Comments
 (0)