update
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
"nvim-treesitter-context": { "branch": "master", "commit": "439789a9a8df9639ecd749bb3286b77117024a6f" },
|
"nvim-treesitter-context": { "branch": "master", "commit": "439789a9a8df9639ecd749bb3286b77117024a6f" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" },
|
"nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" },
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
||||||
|
"odis": { "branch": "master", "commit": "5176a07a729860d0c0cdefe96252fc7ff9e16d43" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
|
||||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "de39919a57e1a40a4c7dc5bae0de276f9c616ef3" },
|
"rainbow-delimiters.nvim": { "branch": "master", "commit": "de39919a57e1a40a4c7dc5bae0de276f9c616ef3" },
|
||||||
|
|||||||
52
lua/plugins/odis.lua
Normal file
52
lua/plugins/odis.lua
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
return {
|
||||||
|
url = "https://gitea.suda.codes/sudacode/odis",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
opts = {
|
||||||
|
display = {
|
||||||
|
default_mode = "vsplit",
|
||||||
|
picker = true,
|
||||||
|
float = {
|
||||||
|
maxwidth = 80,
|
||||||
|
maxheight = 40,
|
||||||
|
border = "rounded",
|
||||||
|
title = true,
|
||||||
|
style = "minimal",
|
||||||
|
auto_focus = true,
|
||||||
|
anchor = "bottom_right",
|
||||||
|
offset = { row = -2, col = -2 },
|
||||||
|
},
|
||||||
|
window = {
|
||||||
|
width = 0.4,
|
||||||
|
height = 0.25,
|
||||||
|
position = "bottom|right",
|
||||||
|
floating = false,
|
||||||
|
border = "none",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
integrations = {
|
||||||
|
treesitter = {
|
||||||
|
enabled = true, -- Enable Treesitter integration
|
||||||
|
highlight = true, -- Enable syntax highlighting
|
||||||
|
langs = { -- Language mapping for different doc types
|
||||||
|
lsp = "markdown",
|
||||||
|
man = "man",
|
||||||
|
help = "vimdoc",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
sources = {
|
||||||
|
lsp = { enabled = true },
|
||||||
|
vim = { enabled = true },
|
||||||
|
man = { enabled = true },
|
||||||
|
},
|
||||||
|
priority = { "LSP", "Vim", "Man" },
|
||||||
|
mappings = {
|
||||||
|
close = "<leader>dc",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user