1
Fork 0

Added some more git stuff I guess

This commit is contained in:
Matei Adriel 2022-08-24 14:13:35 +03:00
parent db117a39bb
commit 8594b5da11
9 changed files with 41 additions and 27 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -3,7 +3,10 @@ local M = {}
function M.setup()
require('nvim-autopairs').setup()
--
require "gitlinker".setup()
require('neogit').setup()
vscode.unless(function()
require("presence"):setup({})
require("my.plugins.dashboard").setup()
@ -14,13 +17,14 @@ function M.setup()
require("my.plugins.nvim-tree").setup()
require("my.plugins.vimtex").setup()
require("my.plugins.lean").setup()
require("my.plugins.lualine").setup()
require("my.plugins.vimux").setup()
end)
require("my.plugins.vim-tmux-navigator").setup()
require("my.plugins.lualine").setup()
require("my.plugins.comment").setup()
require("my.plugins.telescope").setup()
require("my.plugins.vimux").setup()
-- require("my.plugins.idris").setup()
-- require("which-key").setup()

View file

@ -1,24 +1,24 @@
local M = {}
function M.setup()
require('lualine').setup({
theme = vim.g.lualineTheme,
options = {
section_separators = {left = '', right = ''},
component_separators = {left = '', right = ''}
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
lualine_x = {},
-- lualine_y = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'filetype'},
lualine_z = {'location'}
},
-- Integration with other plugins
extensions = {"nvim-tree"}
})
require('lualine').setup({
theme = vim.g.lualineTheme,
options = {
section_separators = { left = '', right = '' },
component_separators = { left = '', right = '' }
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = { 'filename' },
lualine_x = {},
-- lualine_y = {'encoding', 'fileformat', 'filetype'},
lualine_y = { 'filetype' },
lualine_z = { 'location' }
},
-- Integration with other plugins
extensions = { "nvim-tree" }
})
end
return M

View file

@ -5,13 +5,15 @@ function M.setup()
ensure_installed = {
"bash", "javascript", "typescript", "c", "cpp", "css", "dockerfile",
"elixir", "fish", "html", "json", "latex", "python", "rust", "scss",
"toml", "tsx", "vim", "yaml", "nix"
"toml", "tsx", "vim", "yaml", "nix", "kotlin"
},
sync_install = false,
indent = { enable = true },
highlight = {
enable = true,
disable = { "kotlin" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.