nvim: orgmode, ts ensure_installed

This commit is contained in:
Ismo Vuorinen
2022-12-29 10:38:52 +02:00
parent 7b2831ec94
commit 6746fb5381
2 changed files with 22 additions and 1 deletions

View File

@@ -228,7 +228,23 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'php', 'python', 'rust', 'typescript', 'help' },
ensure_installed = {
'bash',
'c', 'comment', 'cpp',
'diff', 'dockerfile',
'gitattributes', 'gitignore', 'go',
'html', 'http',
'javascript', 'jq', 'jsdoc', 'json',
'lua',
'markdown',
'php', 'phpdoc', 'python',
'regex', 'rust',
'scss', 'sql',
'typescript',
'vim', 'vue',
'yaml',
'help',
},
highlight = { enable = true },
indent = { enable = true, disable = { 'python' } },

View File

@@ -47,6 +47,11 @@ return function(use)
callback = function() require("lint").try_lint() end,
})
-- nvim orgmode, to get me use nvim even more.
use ({ "nvim-orgmode/orgmode",
config = function() require("orgmode").setup({}) end,
})
-- Remaps for the refactoring operations currently offered by the plugin
local map = vim.api.nvim_set_keymap