diff --git a/lua/plugins.lua b/lua/plugins.lua index 55b403a..90ddb20 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -238,8 +238,8 @@ local plugins = { local opts = { install = { - colorscheme = { "moonfly" } - } + colorscheme = { "moonfly", }, + }, } require("lazy").setup(plugins, opts) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 161af0d..65a083f 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -31,18 +31,16 @@ local function setup() ) vim.keymap.set( "n", "fg", function () - builtin.live_grep( - { - additional_args = function (_) - return { - "--hidden", - "--iglob=!.venv", - "--iglob=!vendor", - "--iglob=!.git", - } - end, - } - ) + builtin.live_grep({ + additional_args = function (_) + return { + "--hidden", + "--iglob=!.venv", + "--iglob=!vendor", + "--iglob=!.git", + } + end, + }) end ) vim.keymap.set("n", "fb", builtin.buffers) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 4e67cff..7475d7c 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -17,39 +17,40 @@ -- https://github.com/nvim-treesitter/nvim-treesitter local function setup() -require("nvim-treesitter.configs").setup({ - ensure_installed = { - "c", -- recommended default - "lua", -- recommended default - "vim", -- recommended default - "vimdoc", -- recommended default - "query", -- recommended default - "luadoc", - "phpdoc", - "regex", -- for noice - "bash", -- for noice - "markdown", -- for noice - "markdown_inline", -- for noice - "org", - }, - auto_install = true, + require("nvim-treesitter.configs").setup({ + ensure_installed = { + "c", -- recommended default + "lua", -- recommended default + "vim", -- recommended default + "vimdoc", -- recommended default + "query", -- recommended default + "luadoc", + "phpdoc", + "regex", -- for noice + "bash", -- for noice + "markdown", -- for noice + "markdown_inline", -- for noice + "org", + }, + auto_install = true, - highlight = { - enable = true, - disable = {}, - additional_vim_regex_highlighting = { "org", }, - }, + highlight = { + enable = true, + disable = {}, + additional_vim_regex_highlighting = { "org", }, + }, - -- Indentation based on treesitter for the = operator. - -- NOTE: This is an experimental feature. - indent = { - enable = true, - }, -}) + -- Indentation based on treesitter for the = operator. + -- NOTE: This is an experimental feature. + indent = { + enable = true, + }, + }) -vim.opt.foldmethod = "expr" -vim.opt.foldexpr = "nvim_treesitter#foldexpr()" -vim.opt.foldenable = false + + vim.opt.foldmethod = "expr" + vim.opt.foldexpr = "nvim_treesitter#foldexpr()" + vim.opt.foldenable = false end return setup