diff --git a/lua/shelbybark/core/keymaps.lua b/lua/shelbybark/core/keymaps.lua index 0ca65e3..fb43934 100644 --- a/lua/shelbybark/core/keymaps.lua +++ b/lua/shelbybark/core/keymaps.lua @@ -33,6 +33,7 @@ keymap.set("n", "tf", "tabnew %", { desc = "Open current buffer -- bufferline keymap.set("n", "", ":BufferLineCycleNext", { desc = "Go to next tab" }) +keymap.set("n", "", ":BufferLineCyclePrev", { desc = "Go to previous tab" }) keymap.set("n", "x", ":BufDel", { desc = "Close Current Tab" }) -- Fterm diff --git a/lua/shelbybark/core/options.lua b/lua/shelbybark/core/options.lua index e77af13..10d48b2 100644 --- a/lua/shelbybark/core/options.lua +++ b/lua/shelbybark/core/options.lua @@ -11,8 +11,8 @@ opt.relativenumber = true -- show relative line numbers opt.number = true -- shows absolute line number on cursor line (when relative number is on) -- tabs & indentation -opt.tabstop = 4 -- 4 spaces for tabs (prettier default) -opt.shiftwidth = 4 -- 4 spaces for indent width +opt.tabstop = 2 -- 2 spaces for tabs (prettier default) +opt.shiftwidth = 2 -- 2 spaces for indent width opt.expandtab = true -- expand tab to spaces opt.autoindent = true -- copy indent from current line when starting new one diff --git a/lua/shelbybark/plugins/lsp/mason.lua b/lua/shelbybark/plugins/mason.lua similarity index 92% rename from lua/shelbybark/plugins/lsp/mason.lua rename to lua/shelbybark/plugins/mason.lua index 7cce6ef..35639d7 100644 --- a/lua/shelbybark/plugins/lsp/mason.lua +++ b/lua/shelbybark/plugins/mason.lua @@ -4,6 +4,7 @@ return { "williamboman/mason-lspconfig.nvim", "WhoIsSethDaniel/mason-tool-installer.nvim", }, + cmd = { "Mason", "MasonInstall", "MasonInstallAll", "MasonUpdate" }, config = function() -- import mason local mason = require("mason") @@ -37,6 +38,7 @@ return { "emmet_ls", "prismals", "pyright", + "django-template-lsp", }, })