From 947d39d9d26330181fe05d984c4a526823a76a2f Mon Sep 17 00:00:00 2001 From: tiago Date: Fri, 10 Nov 2023 21:16:00 +0000 Subject: [PATCH] forgot to add new files --- .config/nvim/tsousa/plugins/lualine.lua | 46 +++++++++++++++++++++++ .config/nvim/tsousa/plugins/mason.lua | 19 ++++++++++ .config/nvim/tsousa/plugins/ncplugins.lua | 9 +++++ 3 files changed, 74 insertions(+) create mode 100644 .config/nvim/tsousa/plugins/lualine.lua create mode 100644 .config/nvim/tsousa/plugins/mason.lua create mode 100644 .config/nvim/tsousa/plugins/ncplugins.lua diff --git a/.config/nvim/tsousa/plugins/lualine.lua b/.config/nvim/tsousa/plugins/lualine.lua new file mode 100644 index 0000000..0f6b577 --- /dev/null +++ b/.config/nvim/tsousa/plugins/lualine.lua @@ -0,0 +1,46 @@ +return { + "nvim-lualine/lualine.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + config = function() + require('lualine').setup { + options = { + icons_enabled = true, + theme = 'auto', + component_separators = { left = '', right = '' }, + section_separators = { left = '', right = '' }, + disabled_filetypes = { + statusline = {}, + winbar = {}, + }, + ignore_focus = {}, + always_divide_middle = true, + globalstatus = false, + refresh = { + statusline = 1000, + tabline = 1000, + winbar = 1000, + } + }, + sections = { + lualine_a = { 'mode' }, + lualine_b = { 'branch', 'diff', 'diagnostics' }, + lualine_c = { 'filename' }, + lualine_x = { 'encoding', 'fileformat', 'filetype' }, + lualine_y = { 'progress' }, + lualine_z = { 'location' } + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = { 'filename' }, + lualine_x = { 'location' }, + lualine_y = {}, + lualine_z = {} + }, + tabline = {}, + winbar = {}, + inactive_winbar = {}, + extensions = {} + } + end +} diff --git a/.config/nvim/tsousa/plugins/mason.lua b/.config/nvim/tsousa/plugins/mason.lua new file mode 100644 index 0000000..2eddcf1 --- /dev/null +++ b/.config/nvim/tsousa/plugins/mason.lua @@ -0,0 +1,19 @@ +return { + "williamboman/mason.nvim", + config = function() + local present, mason = pcall(require, "mason") + vim.api.nvim_create_augroup("_mason", { clear = true }) + options = { + PATH = "skip", + ui = { + icons = { + package_installed = "✓", + package_pending = "➜", + package_uninstalled = "✗" + }, + }, + max_concurrent_installers = 10, + } + mason.setup(options) + end +} diff --git a/.config/nvim/tsousa/plugins/ncplugins.lua b/.config/nvim/tsousa/plugins/ncplugins.lua new file mode 100644 index 0000000..3028b37 --- /dev/null +++ b/.config/nvim/tsousa/plugins/ncplugins.lua @@ -0,0 +1,9 @@ +return { + "stevearc/dressing.nvim", + "nvim-lua/plenary.nvim", + "nvim-lua/popup.nvim", + "tpope/vim-surround", + "nvim-lualine/lualine.nvim", + "nvim-treesitter/playground", + "runoshun/vim-alloy", +}