Keybindings:

- rust overrides K for hover actions and J for joinLines
- <space>F now is dioxus format file
- <space>E now is vim.diagnostic.open_float

Config:

- splash shows OGPT entry
- rustaceanvim now requires version ^6 instead of ^5
- dropped sqls.nvim
This commit is contained in:
2025-05-13 21:16:59 +02:00
parent 9206d3ca43
commit c38ec7f2e4
3 changed files with 12 additions and 8 deletions

View File

@@ -94,7 +94,8 @@ require("lazy").setup({
action = function(exporter)
local current_file = vim.api.nvim_buf_get_name(0)
local target = vim.fn.fnamemodify(current_file, ':p:r') .. '.html'
local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--toc', '--number-sections', '--output', target }
local command = { 'pandoc', '--filter', 'pandoc-plot', current_file, '--standalone', '--toc',
'--number-sections', '--output', target }
local on_success = function(output)
print('Success!')
vim.api.nvim_echo({ { table.concat(output, '\n') } }, true, {})
@@ -488,7 +489,7 @@ require("lazy").setup({
dashboard.section.header.val = vim.split(adjustedLogo, '\n')
dashboard.section.buttons.val = {
dashboard.button('h', ' Browse ~', '<cmd>Neotree<CR>'),
dashboard.button('o', '󱙺 AI Chat', '<cmd>OGPT<CR>'),
dashboard.button('n', ' New file', ':ene <BAR> startinsert <CR>'),
dashboard.button('s', ' Settings', '<cmd>WorkspacesOpen config-nvim<CR>'),
dashboard.button('u', '󱐥 Update plugins', '<cmd>Lazy update<CR>'),
@@ -519,7 +520,7 @@ require("lazy").setup({
-- improved Rust support
{
'mrcjkb/rustaceanvim',
version = '^5', -- Recommended
version = '^6', -- Recommended
lazy = false, -- This plugin is already lazy
},
@@ -602,11 +603,6 @@ require("lazy").setup({
opts = {},
},
-- database connectivity
{
"nanotee/sqls.nvim"
},
-- ollama and LLM integration
{
{