all repos

init.lua @ 7e9ee41

my nvim config
2 files changed, 3 insertions(+), 2 deletions(-)
refactor: too long lines
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-02-19 15:21:44 +0200
Parent: fbe7e18
M lua/plugins/completion.lua

@@ -26,7 +26,6 @@ })

cmp.setup(opts) end, - opts = function() local cmp = require "cmp"
M lua/plugins/treesitter.lua

@@ -36,7 +36,9 @@ "JoosepAlviste/nvim-ts-context-commentstring",

lazy = false, init = function() local get_option = vim.filetype.get_option - vim.filetype.get_option = function(filetype, option) ---@diagnostic disable-line: duplicate-set-field + + ---@diagnostic disable-next-line: duplicate-set-field + vim.filetype.get_option = function(filetype, option) -- stylua: ignore return option == "commentstring" and require("ts_context_commentstring.internal").calculate_commentstring()