diff --git a/lua/ward/init.lua b/lua/ward/init.lua index f8b2361..aa849ee 100644 --- a/lua/ward/init.lua +++ b/lua/ward/init.lua @@ -10,7 +10,7 @@ require("ward.lazy") --$ Neovide configuration if used if vim.g.neovide then - vim.g.neovide_opacity = 0.75 + vim.g.neovide_opacity = 0.85 vim.g.neovide_window_blurred = true -- vim.o.guifont = "Source Code Pro:h12" diff --git a/lua/ward/plugins/bufferline.lua b/lua/ward/plugins/bufferline.lua index 0581272..492995b 100644 --- a/lua/ward/plugins/bufferline.lua +++ b/lua/ward/plugins/bufferline.lua @@ -9,7 +9,7 @@ return { config = function() require("bufferline").setup({ options = { - right_mouse_command = "BufferLineTogglePin", + right_mouse_command = "BufferLineTogglePin", buffer_close_icon = "󰅖", offsets = { { @@ -19,6 +19,10 @@ return { separator = true, }, }, + -- separator_style = "slant", + -- indicator = { + -- style = "underline", + -- }, diagnostics = "nvim_lsp", diagnostics_indicator = function(count, level, diagnostics_dict, context) local s = " " @@ -39,11 +43,11 @@ return { { "bst", "BufferLineSortByTabs", desc = "Sort by tabs" }, { "bsh", "BufferLineMovePrev", desc = "Sort by tabs" }, { "bsl", "BufferLineMoveNext", desc = "Sort by tabs" }, - { "[[", "BufferLineCyclePrev", desc = "Previous buffer" }, - { "]]", "BufferLineCycleNext", desc = "Next buffer" }, - { "bb", "BufferLineCyclePrev", desc = "Previous buffer" }, - { "bn", "BufferLineCycleNext", desc = "Next buffer" }, - { "n", "BufferLineCycleNext", desc = "Next buffer" }, + { "[[", "BufferLineCyclePrev", desc = "Previous buffer" }, + { "]]", "BufferLineCycleNext", desc = "Next buffer" }, + { "bb", "BufferLineCyclePrev", desc = "Previous buffer" }, + { "bn", "BufferLineCycleNext", desc = "Next buffer" }, + { "n", "BufferLineCycleNext", desc = "Next buffer" }, }) end, } diff --git a/lua/ward/plugins/treesitter.lua b/lua/ward/plugins/treesitter.lua index d7c534b..32e2f2a 100644 --- a/lua/ward/plugins/treesitter.lua +++ b/lua/ward/plugins/treesitter.lua @@ -2,19 +2,28 @@ --$ URL: https://github.com/nvim-treesitter/nvim-treesitter --# :help treesitter return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", + "nvim-treesitter/nvim-treesitter", + branch = "main", + lazy = false, + build = ":TSUpdate", - config = function() - local configs = require("nvim-treesitter.configs") - - configs.setup({ - ensure_installed = { - "c", "lua", "vim", "vimdoc", "javascript", "html", "python", "typescript" - }, - sync_install = false, - highlight = { enable = true }, - indent = { enable = true }, - }) - end + -- config = function() + -- local configs = require("nvim-treesitter.configs") + -- + -- configs.setup({ + -- ensure_installed = { + -- "c", + -- "lua", + -- "vim", + -- "vimdoc", + -- "javascript", + -- "html", + -- "python", + -- "typescript", + -- }, + -- sync_install = false, + -- highlight = { enable = true }, + -- indent = { enable = true }, + -- }) + -- end, } diff --git a/lua/ward/setup.lua b/lua/ward/setup.lua index 2246e14..f34b56d 100644 --- a/lua/ward/setup.lua +++ b/lua/ward/setup.lua @@ -35,5 +35,5 @@ end LineNumberColors() -- Set spell checker -vim.opt.spell = true +-- vim.opt.spell = true vim.opt.spelllang = { 'en_gb', 'nl' }