From 3e5661c05368343b13ce8614d23ec8c9e2c20e24 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 4 Aug 2021 11:58:18 +0300 Subject: [PATCH 1/3] Add editorconfig plugin --- home/.config/nvim/lua/pluginmanager.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.config/nvim/lua/pluginmanager.lua b/home/.config/nvim/lua/pluginmanager.lua index 1739d2f1..e367e9d8 100644 --- a/home/.config/nvim/lua/pluginmanager.lua +++ b/home/.config/nvim/lua/pluginmanager.lua @@ -37,6 +37,9 @@ require('packer').startup(function() -- Do stuff as sudo use 'lambdalisue/suda.vim' + -- Read editorconfig settings + use 'editorconfig/editorconfig-vim' + -- Configs for built-in LSP use 'neovim/nvim-lspconfig' From aa842378dbafa1ee86ce6b833013708f05ad66e0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 4 Aug 2021 11:58:44 +0300 Subject: [PATCH 2/3] Ran neoformat --- home/.config/nvim/lua/pluginmanager.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/.config/nvim/lua/pluginmanager.lua b/home/.config/nvim/lua/pluginmanager.lua index e367e9d8..e3ffc93c 100644 --- a/home/.config/nvim/lua/pluginmanager.lua +++ b/home/.config/nvim/lua/pluginmanager.lua @@ -56,9 +56,9 @@ require('packer').startup(function() run = ':TSUpdate' } - -- Syntax highlighting for languages - -- that are not supported by treesitter - use 'sheerun/vim-polyglot' + -- Syntax highlighting for languages + -- that are not supported by treesitter + use 'sheerun/vim-polyglot' -- Formatter plugin use 'sbdchd/neoformat' From 7965230bd0f3af08d62d7efb20a319aa15b93ac0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 4 Aug 2021 12:20:03 +0300 Subject: [PATCH 3/3] Change to nvim-tree from nerdtree --- home/.config/nvim/lua/keybinds.lua | 4 ++-- home/.config/nvim/lua/pluginmanager.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home/.config/nvim/lua/keybinds.lua b/home/.config/nvim/lua/keybinds.lua index dc058dbd..198a667d 100644 --- a/home/.config/nvim/lua/keybinds.lua +++ b/home/.config/nvim/lua/keybinds.lua @@ -4,8 +4,8 @@ local function map(mode, lhs, rhs, opts) vim.api.nvim_set_keymap(mode, lhs, rhs, options) end --- Open/close nerdtree -map('', '', 'NERDTreeToggle') +-- Open/close tree browser +map('n', '', 'NvimTreeToggle') -- Telescope map('n', '', 'Telescope find_files find_command=fd,-Ht,f') diff --git a/home/.config/nvim/lua/pluginmanager.lua b/home/.config/nvim/lua/pluginmanager.lua index e3ffc93c..4550e3c7 100644 --- a/home/.config/nvim/lua/pluginmanager.lua +++ b/home/.config/nvim/lua/pluginmanager.lua @@ -26,7 +26,7 @@ require('packer').startup(function() use 'vim-airline/vim-airline' -- Tree explorer - use 'scrooloose/nerdtree' + use {'kyazdani42/nvim-tree.lua', requires = 'kyazdani42/nvim-web-devicons'} -- Telescope use {