lua << EOF local cmp = require'cmp' cmp.setup({ snippet = { expand = function(args) vim.fn["vsnip#anonymous"](args.body) end, }, mapping = { [''] = cmp.mapping.confirm({ select = true }), }, sources = { { name = 'neorg' }, } }) require('nvim-treesitter.configs').setup { ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages ignore_install = { }, -- List of parsers to ignore installing highlight = { enable = true, additional_vim_regex_highlighting = true, }, indent = { enable = true, }, rainbow = { enable = true, extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean max_file_lines = nil, -- Do not enable for files with more than n lines, int } } require('neorg').setup { -- Tell Neorg what modules to load load = { ["core.defaults"] = {}, -- Load all the default modules ["core.norg.concealer"] = {}, -- Allows for use of icons ["core.norg.dirman"] = { -- Manage your directories with Neorg config = { engine = "nvim-cmp", workspaces = { home = "~/neorg" } } } }, } EOF nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags