20250118.1737193804

This commit is contained in:
fz0x1 2025-01-18 10:50:04 +01:00
parent ba81851219
commit ed1f856b78
17 changed files with 43 additions and 398 deletions

View file

@ -152,9 +152,9 @@ local config = function()
mapping = cmp.mapping.preset.insert({
-- ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
["<Tab>"] = cmp.mapping.select_next_item(cmp_select),
["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
-- ["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
["<CR>"] = cmp.mapping.confirm({ select = true }),
["<C-Space>"] = cmp.mapping.complete(),
-- ["<C-Space>"] = cmp.mapping.complete(),
["<C-f>"] = cmp.mapping(function(fallback)
if luasnip.jumpable(1) then
luasnip.jump(1)

View file

@ -38,36 +38,6 @@ local config = {
extensions = {},
}
-- local function ins_left(component)
-- table.insert(config.sections.lualine_c, component)
-- end
-- local function ins_right(component)
-- table.insert(config.sections.lualine_x, 1, component)
-- end
-- ins_right({
-- -- Lsp server name .
-- function()
-- local msg = "No Active Lsp"
-- -- local buf_ft = vim.api.nvim_buf_get_option(0, "filetype")
-- local buf_ft = vim.bo.filetype
-- local clients = vim.lsp.get_clients()
-- if next(clients) == nil then
-- return msg
-- end
-- for _, client in ipairs(clients) do
-- local filetypes = client.config.filetypes
-- if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then
-- return client.name
-- end
-- end
-- return msg
-- end,
-- icon = " LSP:",
-- color = { fg = "#ff6b6b" },
-- })
return {
"nvim-lualine/lualine.nvim",
lazy = false,

View file

@ -1,10 +0,0 @@
return {
lazy = false,
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = "cd app && yarn install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
}

View file

@ -1,4 +1,3 @@
-- TODO what is it for lol?
return {
"godlygeek/tabular",
lazy = false,

View file

@ -1,3 +1,4 @@
return {
"folke/twilight.nvim",
lazy = false,
}

View file

@ -12,5 +12,4 @@ return {
-- refer to the configuration section below
},
},
{ "folke/neodev.nvim" },
}

View file

@ -1,22 +0,0 @@
return {
{
ft = "markdown",
"folke/zen-mode.nvim",
opts = {
window = {
backdrop = 1,
options = {
number = false,
},
},
plugins = {
options = {
laststatus = 1,
},
alacritty = {
enabled = true,
},
},
},
},
}