updates
This commit is contained in:
@@ -33,6 +33,7 @@ keymap.set("n", "<leader>tf", "<cmd>tabnew %<CR>", { desc = "Open current buffer
|
||||
|
||||
-- bufferline
|
||||
keymap.set("n", "<Tab>", ":BufferLineCycleNext<CR>", { desc = "Go to next tab" })
|
||||
keymap.set("n", "<S-Tab>", ":BufferLineCyclePrev<CR>", { desc = "Go to previous tab" })
|
||||
keymap.set("n", "<leader>x", ":BufDel<CR>", { desc = "Close Current Tab" })
|
||||
|
||||
-- Fterm
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user