Upd with resolved diagnostic

This commit is contained in:
Valeriy Filippov
2026-03-12 11:34:46 +03:00
parent fdcab36e0f
commit 31bc0891fb
5 changed files with 20 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ return {
local lazy_status = require("lazy.status") -- to configure lazy pending updates count
-- configure lualine with modified theme
---@diagnostic disable-next-line: undefined-field
lualine.setup({
options = {
theme = "auto",

View File

@@ -12,6 +12,7 @@ return {
input = {}, -- Enhances `ask()`
picker = { -- Enhances `select()`
actions = {
---@diagnostic disable-next-line: undefined-field
opencode_send = function(...) return require("opencode").snacks_picker_send(...) end,
},
win = {
@@ -45,6 +46,9 @@ return {
stop = function() require("snacks.terminal").get(opencode_cmd, snacks_terminal_opts):close() end,
toggle = function() require("snacks.terminal").toggle(opencode_cmd, snacks_terminal_opts) end,
},
lsp = {
enabled = true,
},
}
vim.o.autoread = true -- Required for `opts.events.reload`
end,

View File

@@ -11,7 +11,8 @@ return {
local treesitter = require("nvim-treesitter.configs")
-- configure treesitter
treesitter.setup({ -- enable syntax highlighting
treesitter.setup({
-- enable syntax highlighting
highlight = {
enable = true,
},
@@ -41,6 +42,10 @@ return {
"vimdoc",
"yaml",
},
modules = {},
sync_install = false,
ignore_install = {},
auto_install = false,
incremental_selection = {
enable = true,
keymaps = {