nvim/lua/plugins/style.lua

102 lines
2.0 KiB
Lua

return {
{
'rebelot/kanagawa.nvim',
config = function()
vim.opt.guifont = 'Source Code Pro for Powerline'
vim.cmd('set termguicolors')
vim.opt.syntax = 'on'
require('kanagawa').setup({
colors = {
palette = {
lotusGray = "#F8F7F4",
lotusWhite0 = "#FBFBF9",
lotusWhite1 = "#F2F0E9",
lotusWhite2 = "#F8F7F2",
lotusWhite3 = "#F6F6F1",
lotusWhite4 = "#F4F1E6",
lotusWhite5 = "#FcFBF9",
}
}
})
vim.cmd('colorscheme kanagawa-lotus')
end
},
{ 'lunarvim/lunar.nvim' },
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function()
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
disable = { "html" }
}
}
end,
dependencies = { 'nvim-treesitter/playground' }
},
{
"nvim-treesitter/nvim-treesitter-context",
dependencies = { 'nvim-treesitter/nvim-treesitter' }
},
{
"nvim-treesitter/nvim-treesitter-textobjects",
dependencies = { 'nvim-treesitter/nvim-treesitter' },
config = function()
require("nvim-treesitter.configs").setup({
textobjects = {
select = {
enable = true,
lookahead = true,
keymaps = {
["af"] = "@function.outer",
["if"] = "@function.inner",
["ac"] = "@class.outer",
["ic"] = "@class.inner",
}
},
swap = {
enable = true,
swap_next = {
["<leader>a"] = "@parameter.inner",
},
swap_previous = {
["<leader>A"] = "@parameter.inner",
},
},
}
})
end
},
{
'akinsho/bufferline.nvim',
version = "*",
config = true,
dependencies = { 'nvim-tree/nvim-web-devicons' }
},
{
'hoob3rt/lualine.nvim',
config = function()
require('lualine').setup {
options = {
theme = 'kanagawa'
}
}
end
},
{
'lewis6991/gitsigns.nvim',
config = true
},
{
'glepnir/dashboard-nvim',
event = 'VimEnter',
config = true,
dependencies = { 'nvim-tree/nvim-web-devicons' }
},
}