Upd with resolved diagnostic
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/gitlab_ci_ls.lua
|
||||
---@diagnostic disable-next-line: undefined-field
|
||||
local cache_dir = vim.uv.os_homedir() .. "/.cache/gitlab-ci-ls/"
|
||||
|
||||
return {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
-- https://githup.com/folke/lazy.nvim
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
---@diagnostic disable-next-line: undefined-field
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
@@ -26,4 +27,3 @@ require("lazy").setup("plugins", {
|
||||
notify = false,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user