nvim: Format files

This commit is contained in:
Marty Oehme 2023-03-22 10:35:00 +01:00
parent 22cfa037df
commit 36d411dafa
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 53 additions and 44 deletions

View file

@ -136,9 +136,12 @@ cmp.setup({
{ name = 'luasnip', keyword_length = 2 }, { name = 'luasnip', keyword_length = 2 },
{ name = 'pandoc_references' }, { name = 'pandoc_references' },
{ name = 'nvim_lua' }, { name = 'nvim_lua' },
{ name = 'beancount', option = { {
name = 'beancount',
option = {
account = vim.env["HOME"] .. '/documents/records/budget/main.beancount' -- TODO implement dynamically account = vim.env["HOME"] .. '/documents/records/budget/main.beancount' -- TODO implement dynamically
} }, }
},
{ name = 'calc' }, { name = 'calc' },
{ name = 'path' }, { name = 'path' },
{ name = 'buffer', keyword_length = 3 }, { name = 'buffer', keyword_length = 3 },

View file

@ -84,7 +84,8 @@ return {
'quarto-dev/quarto-nvim', 'quarto-dev/quarto-nvim',
dependencies = { dependencies = {
'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig', 'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig',
'vim-pandoc/vim-pandoc-syntax' 'vim-pandoc/vim-pandoc-syntax', 'hrsh7th/nvim-cmp',
'nvim-treesitter/nvim-treesitter'
}, },
config = function() config = function()
require 'quarto'.setup { require 'quarto'.setup {
@ -112,7 +113,12 @@ return {
}, { 'micarmst/vim-spellsync', event = "VeryLazy" }, -- personal dict improvements for git sync }, { 'micarmst/vim-spellsync', event = "VeryLazy" }, -- personal dict improvements for git sync
{ 'folke/zen-mode.nvim', config = true, event = "VeryLazy" }, -- provide distraction free writing { 'folke/zen-mode.nvim', config = true, event = "VeryLazy" }, -- provide distraction free writing
{ 'folke/twilight.nvim', event = "VeryLazy" }, -- provide even distraction free-er writing (lowlight paragraphs) { 'folke/twilight.nvim', event = "VeryLazy" }, -- provide even distraction free-er writing (lowlight paragraphs)
{ 'JellyApple102/easyread.nvim', config = true, ft = writing_ft, cmd = 'EasyreadToggle' }, -- enable 'speed-reading' mode (bionic reading) {
'JellyApple102/easyread.nvim',
config = true,
ft = writing_ft,
cmd = 'EasyreadToggle'
}, -- enable 'speed-reading' mode (bionic reading)
{ 'marty-oehme/zettelkasten.nvim', ft = writing_ft, event = "VeryLazy" }, -- simple static markdown linking { 'marty-oehme/zettelkasten.nvim', ft = writing_ft, event = "VeryLazy" }, -- simple static markdown linking
{ {
"iamcco/markdown-preview.nvim", -- generate an auto-updating html preview for md files "iamcco/markdown-preview.nvim", -- generate an auto-updating html preview for md files