diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 66a5183..af5ef84 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -15,9 +15,10 @@ "nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" }, "nvim-lspconfig": { "branch": "master", "commit": "4bc481b6f0c0cf3671fc894debd0e00347089a4e" }, "nvim-treesitter": { "branch": "master", "commit": "28d480e0624b259095e56f353ec911f9f2a0f404" }, - "nvim-web-devicons": { "branch": "master", "commit": "2c2b4eafce6cdd0cb165036faa17396eff18f847" }, + "nvim-web-devicons": { "branch": "master", "commit": "f1420728f59843eb2ef084406b3d0201a0a0932d" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, + "toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" }, "venv-selector.nvim": { "branch": "regexp", "commit": "c677caa1030808a9f90092e522de7cc20c1390dd" } } diff --git a/nvim/lua/config/vimrc.lua b/nvim/lua/config/vimrc.lua index 87ecd26..9595ba2 100644 --- a/nvim/lua/config/vimrc.lua +++ b/nvim/lua/config/vimrc.lua @@ -7,7 +7,6 @@ vim.keymap.set("n", "K", "5k") vim.keymap.set("n", "//", ":noh") vim.keymap.set("n", "w", ":w") vim.keymap.set("n", "q", ":q") -vim.keymap.set("n", "t", ":tabnew") vim.keymap.set("v", "J", "5j") vim.keymap.set("v", "K", "5k") diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index aa72200..fb03fce 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -3,6 +3,10 @@ local function mason_setup() automatic_enable = true, ensure_installed = { "clangd", + "eslint", + "gradle_ls", + "html", + "kotlin_language_server", "lua_ls", "pyright", "rust_analyzer", @@ -14,6 +18,9 @@ end local function nvim_lsp_setup() vim.lsp.enable("clangd") vim.lsp.enable("dartls") + vim.lsp.enable("gradle_ls") + vim.lsp.enable("html") + vim.lsp.enable("kotlin_language_server") vim.lsp.enable("lua_ls") vim.lsp.enable("pyright") vim.lsp.enable("rust_analyzer") diff --git a/nvim/lua/plugins/neotree.lua b/nvim/lua/plugins/neotree.lua index 7a5df29..046c295 100644 --- a/nvim/lua/plugins/neotree.lua +++ b/nvim/lua/plugins/neotree.lua @@ -1,8 +1,21 @@ local function setup() + require("neo-tree").setup({ + close_if_last_window = true, + -- popup_border_style = "winborder", + filesystem = { + filtered_items = { + hide_dotfiles = false, + }, + hide_by_name = { + ".git", + "node_modules", + }, + }, + }) + vim.keymap.set("n", "j", ":Neotree filesystem reveal left") vim.keymap.set("n", "b", ":Neotree buffers toggle bottom") vim.keymap.set("n", "J", ":Neotree filesystem close left") - vim.keymap.set("n", "q", ":Neotree filesystem close left:q") end return { diff --git a/nvim/lua/plugins/toggleterm.lua b/nvim/lua/plugins/toggleterm.lua new file mode 100644 index 0000000..97789c5 --- /dev/null +++ b/nvim/lua/plugins/toggleterm.lua @@ -0,0 +1,15 @@ +local function setup() + require("toggleterm").setup({}) + + vim.keymap.set("n", "t", ":ToggleTerm") + vim.keymap.set("t", "", "") +end + +return { + "akinsho/toggleterm.nvim", + version = "*", + config = setup, + + -- or + -- {'akinsho/toggleterm.nvim', version = "*", opts = {--[[ things you want to change go here]]}} +}