diff options
author | Benjamin Chaussé <Benjamin.Chausse@goto.com> | 2024-08-08 09:01:59 -0400 |
---|---|---|
committer | Benjamin Chaussé <Benjamin.Chausse@goto.com> | 2024-08-08 09:01:59 -0400 |
commit | 927fbd79d51fc9908013b47d8b0ad4b0be126296 (patch) | |
tree | 7b9420315e0dce3b17792691f461db16aaa70e33 /lua/plugins | |
parent | 90f34294902b02059b753b65a2d630b9e2a59714 (diff) |
colorscheme organization and lualine
Diffstat (limited to 'lua/plugins')
-rw-r--r-- | lua/plugins/colorscheme.lua | 85 | ||||
-rw-r--r-- | lua/plugins/lualine.lua | 4 |
2 files changed, 44 insertions, 45 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua index 60e4fbf..0a2e1f7 100644 --- a/lua/plugins/colorscheme.lua +++ b/lua/plugins/colorscheme.lua @@ -1,49 +1,48 @@ return { + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + local configs = require("nvim-treesitter.configs") + ---@diagnostic disable-next-line: missing-fields + configs.setup({ + -- List of languages in-> :h + ensure_installed = { + "c", + "go", + "bash", + "lua", + "python", + "vim", + "vimdoc", + "gitignore", + "mermaid", + "markdown", + "rnoweb", + "r", + "rust", + "dockerfile", + "graphql", + "yaml", + "json", + "xml", + "sxhkdrc", + "zathurarc", + }, + ignore_install = { + "javascript", + "typescript", + }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = false }, + additional_vim_regex_highlighting = false, + }) + end, + }, { -- No nonsense, very stoic "aktersnurra/no-clown-fiesta.nvim", - dependencies = { - { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - config = function() - local configs = require("nvim-treesitter.configs") - ---@diagnostic disable-next-line: missing-fields - configs.setup({ - -- List of languages in-> :h - ensure_installed = { - "c", - "go", - "bash", - "lua", - "python", - "vim", - "vimdoc", - "gitignore", - "mermaid", - "markdown", - "rnoweb", - "r", - "rust", - "dockerfile", - "graphql", - "yaml", - "json", - "xml", - "sxhkdrc", - "zathurarc", - }, - ignore_install = { - "javascript", - "typescript", - }, - sync_install = false, - highlight = { enable = true }, - indent = { enable = false }, - additional_vim_regex_highlighting = false, - }) - end, - }, - }, + dependencies = "nvim-treesitter/nvim-treesitter", lazy = false, priority = 1000, config = function() diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index ca6d853..84b126a 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -47,8 +47,8 @@ return { }, }, lualine_b = { "branch" }, - lualine_c = { filepath }, - lualine_x = {}, + lualine_c = {}, + lualine_x = { filepath }, lualine_y = { "filetype" }, lualine_z = { "location" }, }, |