diff --git a/.config/nvim/lua/max/plugins/statuscolumn.lua b/.config/nvim/lua/max/plugins/statuscolumn.lua deleted file mode 100644 index 442b4ed..0000000 --- a/.config/nvim/lua/max/plugins/statuscolumn.lua +++ /dev/null @@ -1,23 +0,0 @@ -return { - "luukvbaal/statuscol.nvim", - lazy = false, - config = function() - local builtin = require("statuscol.builtin") - require("statuscol").setup({ - --configuration goes here, for example: - relculright = false, - segments = { - -- { text = { builtin.foldfunc }, click = "v:lua.ScFa" }, - { - sign = { name = { "Diagnostic" }, maxwidth = 2, auto = true }, - click = "v:lua.ScSa" - }, - { text = { builtin.lnumfunc }, click = "v:lua.ScLa", }, - { - sign = { name = { ".*" }, maxwidth = 2, colwidth = 1, auto = true, wrap = true }, - click = "v:lua.ScSa" - }, - } - }) - end, -} diff --git a/.config/nvim/lua/max/plugins/treesitter.lua b/.config/nvim/lua/max/plugins/treesitter.lua index 67bfaf4..3797617 100644 --- a/.config/nvim/lua/max/plugins/treesitter.lua +++ b/.config/nvim/lua/max/plugins/treesitter.lua @@ -1,6 +1,6 @@ return { "nvim-treesitter/nvim-treesitter", - event = "VeryLazy", + event = "BufReadPre", enable = false, dependencies = { "nvim-treesitter/nvim-treesitter-textobjects", @@ -8,10 +8,11 @@ return { "windwp/nvim-ts-autotag", }, config = function() + vim.g.skip_ts_context_commentstring_module = true + require("ts_context_commentstring").setup { + enable_autocmd = false + }; require("nvim-treesitter.configs").setup({ - context_commentstring = { - enable = true - }, ignore_install = {}, sync_install = false, auto_install = true, diff --git a/.config/nvim/lua/max/plugins/which-key.lua b/.config/nvim/lua/max/plugins/which-key.lua deleted file mode 100644 index e6b0faa..0000000 --- a/.config/nvim/lua/max/plugins/which-key.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - "folke/which-key.nvim", - event = "VeryLazy", - config = function() - require("which-key").setup({}) - end, -} diff --git a/.gitconfig b/.gitconfig index 0e68f76..2d9f6e2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,3 +13,5 @@ smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true +[url "git@github.com:"] + insteadOf = https://github.com/