mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
2 commits
81bbc1acfa
...
2f6d8347b2
Author | SHA1 | Date | |
---|---|---|---|
|
2f6d8347b2 | ||
|
238e3b3ef4 |
4 changed files with 35 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 437c0761ceb7dc36a836413ed1600d4f954cd1f7
|
||||
Subproject commit 97b9fec09c0df9c4b6fe1100a551e47271d3b033
|
|
@ -22,6 +22,9 @@ let s:plug = funcref('dotfiles#plugman#register')
|
|||
call s:plug('alaviss/nim.nvim')
|
||||
call s:plug('stevearc/vim-arduino')
|
||||
call s:plug('xiyaowong/coc-nvim-lua')
|
||||
call s:plug('nvim-neorg/neorg', { 'branch': 'unstable' }) " dependencies {{{
|
||||
call s:plug('nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' })
|
||||
" }}}
|
||||
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
||||
call s:plug('noahfrederick/vim-composer')
|
||||
call s:plug('tpope/vim-projectionist')
|
||||
|
|
18
nvim/plugin/neorg.lua
Normal file
18
nvim/plugin/neorg.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
local neorg = require('neorg')
|
||||
local cmp = require('cmp')
|
||||
|
||||
local cmp_config = cmp.get_config()
|
||||
table.insert(cmp_config.sources, { name = "neorg" })
|
||||
cmp.setup(cmp_config)
|
||||
|
||||
require('neorg').setup {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.norg.concealer"] = {},
|
||||
["core.norg.completion"] = {
|
||||
config = {
|
||||
engine = "nvim-cmp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
13
nvim/plugin/treesitter.lua
Normal file
13
nvim/plugin/treesitter.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
|
||||
|
||||
parser_configs.norg = {
|
||||
install_info = {
|
||||
url = "https://github.com/nvim-neorg/tree-sitter-norg",
|
||||
files = { "src/parser.c", "src/scanner.cc" },
|
||||
branch = "main"
|
||||
},
|
||||
}
|
||||
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { "norg" }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue