Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Nov 15, 2024
1 parent eb9e98b commit a33656e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 13 deletions.
3 changes: 1 addition & 2 deletions lua/plugins/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ return {
lazy = false,
opts = {
styles = {},
-- disables hungry features for files larget than 1.5MB
bigfile = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
statuscolumn = { enabled = false },
words = { enabled = true },
words = { enabled = false },
},
},
}
23 changes: 16 additions & 7 deletions lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,23 @@ return {
-- optional: provides snippets for the snippet source
dependencies = {
{ 'rafamadriz/friendly-snippets' },
{ 'saghen/blink.compat' },
{ 'jmbuhr/cmp-pandoc-references',
dev = true,
ft = {'quarto', 'markdown', 'rmarkdown'},
config = function ()
{
'saghen/blink.compat',
dev = false,
opts = {
impersonate_nvim_cmp = false,
enable_events = false,
debug = false,
},
},
{
'jmbuhr/cmp-pandoc-references',
dev = false,
ft = { 'quarto', 'markdown', 'rmarkdown' },
config = function()
vim.api.nvim_create_autocmd('FileType', {
pattern = {"markdown", "quarto", "rmarkdown"},
callback = function ()
pattern = { "markdown", "quarto", "rmarkdown" },
callback = function()
require('cmp-pandoc-references.lsp').start()
end
})
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {

-- for lsp features in code cells / embedded code
'jmbuhr/otter.nvim',
dev = true,
dev = false,
dependencies = {
{
'neovim/nvim-lspconfig',
Expand Down
16 changes: 13 additions & 3 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
return {

{ -- nice quickfix list
'stevearc/quicker.nvim',
event = "FileType qf",
opts = {},
},
{ -- more qf improvements
'romainl/vim-qf'
},

-- telescope
-- a nice seletion UI also to find and open files
{
Expand Down Expand Up @@ -272,7 +282,7 @@ return {
},
opts = {
providers = {
priority = { 'markdown', 'lsp', 'norg' },
priority = { 'markdown', 'lsp', 'norg' },
-- Configuration for each provider (3rd party providers are supported)
lsp = {
-- Lsp client names to ignore
Expand Down Expand Up @@ -373,10 +383,10 @@ return {
ft = { 'markdown', 'quarto', 'vimwiki' },
cond = function()
-- Disable on Windows system
return vim.fn.has 'win32' ~= 1
return vim.fn.has 'win32' ~= 1
end,
dependencies = {
'leafo/magick', -- that's a lua rock
'leafo/magick', -- that's a lua rock
},
config = function()
-- Requirements
Expand Down

0 comments on commit a33656e

Please sign in to comment.