diff --git a/lua/gabrielgio/lsp.lua b/lua/gabrielgio/lsp.lua
index 3856db96ffbe2805b5cc6f727a7343c8d6cb9625..97f6d0355907a863c9cf3e3b8783c50b8035a834 100644
--- a/lua/gabrielgio/lsp.lua
+++ b/lua/gabrielgio/lsp.lua
@@ -34,7 +34,6 @@ lsp_config.clangd.setup,
lsp_config.cssls.setup,
lsp_config.html.setup,
lsp_config.emmet_ls.setup,
- lsp_config.lua_ls.setup,
lsp_config.pylsp.setup
})
@@ -43,3 +42,13 @@ capabilities = capabilities,
cmd_env = {GOFLAGS = "-tags=unit,integration,e2e"},
on_attach = on_attach
})
+
+lsp_config.lua_ls.setup({
+ settings = {
+ Lua = {
+ diagnostics = {
+ globals = {'vim'}
+ }
+ }
+ }
+})
diff --git a/lua/gabrielgio/mini.lua b/lua/gabrielgio/mini.lua
index 28b49b03f30aede8c28f21f74b5458140d42420d..d3f8567d5d2bb0b05854a05a6989ace283489483 100644
--- a/lua/gabrielgio/mini.lua
+++ b/lua/gabrielgio/mini.lua
@@ -1,11 +1,11 @@
-local cmp = require("mini.completion")
local diff = require("mini.diff")
+local cmp = require("mini.completion")
local status = require("mini.statusline")
+local icons = require('mini.icons')
+local tabline = require('mini.tabline')
+diff.setup({view = {style = 'sign'}})
cmp.setup()
-diff.setup({
- view = {
- style = 'sign'
- }
-})
status.setup()
+icons.setup()
+tabline.setup()
diff --git a/lua/gabrielgio/settable.lua b/lua/gabrielgio/settable.lua
index d70dfa12d231fe037dfd14915b15a46a85655bf3..4d1cc0d82a9a38db7b572e9aca28b107a7dfe919 100644
--- a/lua/gabrielgio/settable.lua
+++ b/lua/gabrielgio/settable.lua
@@ -1,4 +1,5 @@
local key = require("gabrielgio.key")
+
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
@@ -43,7 +44,6 @@ vim.opt.updatetime = 100
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldenable = false
-key.nnoremap("<leader>w", "<C-w>w")
vim.cmd("colorscheme edge")
vim.o.background = "light"
@@ -54,3 +54,8 @@ vim.g.maplocalleader = ";"
vim.g.cmake_build_dir = "build"
vim.g.cmake_build_type = "Debug"
+
+
+key.nnoremap("<leader>w", "<C-w>w")
+key.nnoremap("<TAB>", ":bnext<CR>")
+key.nnoremap("<S-TAB>", ":bprevious<CR>")