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
|
-- 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/"
|
local cache_dir = vim.uv.os_homedir() .. "/.cache/gitlab-ci-ls/"
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
-- https://githup.com/folke/lazy.nvim
|
-- https://githup.com/folke/lazy.nvim
|
||||||
-- Bootstrap lazy.nvim
|
-- Bootstrap lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/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
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
@@ -26,4 +27,3 @@ require("lazy").setup("plugins", {
|
|||||||
notify = false,
|
notify = false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ return {
|
|||||||
local lazy_status = require("lazy.status") -- to configure lazy pending updates count
|
local lazy_status = require("lazy.status") -- to configure lazy pending updates count
|
||||||
|
|
||||||
-- configure lualine with modified theme
|
-- configure lualine with modified theme
|
||||||
|
---@diagnostic disable-next-line: undefined-field
|
||||||
lualine.setup({
|
lualine.setup({
|
||||||
options = {
|
options = {
|
||||||
theme = "auto",
|
theme = "auto",
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ return {
|
|||||||
input = {}, -- Enhances `ask()`
|
input = {}, -- Enhances `ask()`
|
||||||
picker = { -- Enhances `select()`
|
picker = { -- Enhances `select()`
|
||||||
actions = {
|
actions = {
|
||||||
|
---@diagnostic disable-next-line: undefined-field
|
||||||
opencode_send = function(...) return require("opencode").snacks_picker_send(...) end,
|
opencode_send = function(...) return require("opencode").snacks_picker_send(...) end,
|
||||||
},
|
},
|
||||||
win = {
|
win = {
|
||||||
@@ -45,6 +46,9 @@ return {
|
|||||||
stop = function() require("snacks.terminal").get(opencode_cmd, snacks_terminal_opts):close() end,
|
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,
|
toggle = function() require("snacks.terminal").toggle(opencode_cmd, snacks_terminal_opts) end,
|
||||||
},
|
},
|
||||||
|
lsp = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
vim.o.autoread = true -- Required for `opts.events.reload`
|
vim.o.autoread = true -- Required for `opts.events.reload`
|
||||||
end,
|
end,
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ return {
|
|||||||
local treesitter = require("nvim-treesitter.configs")
|
local treesitter = require("nvim-treesitter.configs")
|
||||||
|
|
||||||
-- configure treesitter
|
-- configure treesitter
|
||||||
treesitter.setup({ -- enable syntax highlighting
|
treesitter.setup({
|
||||||
|
-- enable syntax highlighting
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
@@ -41,6 +42,10 @@ return {
|
|||||||
"vimdoc",
|
"vimdoc",
|
||||||
"yaml",
|
"yaml",
|
||||||
},
|
},
|
||||||
|
modules = {},
|
||||||
|
sync_install = false,
|
||||||
|
ignore_install = {},
|
||||||
|
auto_install = false,
|
||||||
incremental_selection = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
|
|||||||
Reference in New Issue
Block a user