Add djot grammer to neovim
This commit is contained in:
parent
0273032031
commit
5defb95536
|
@ -31,7 +31,9 @@
|
|||
}
|
||||
vim-surround
|
||||
vim-commentary
|
||||
nvim-treesitter.withAllGrammars
|
||||
{
|
||||
plugin = nvim-treesitter.withAllGrammars;
|
||||
}
|
||||
nvim-nu
|
||||
null-ls-nvim
|
||||
vim-fugitive
|
||||
|
@ -39,6 +41,11 @@
|
|||
extraLuaConfig = ''
|
||||
vim.o.termguicolors = true
|
||||
require'nu'.setup{}
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
'';
|
||||
extraConfig = ''
|
||||
" Show relative line numbers
|
||||
|
@ -49,6 +56,8 @@
|
|||
set shiftwidth=4
|
||||
" Keep 4 lines off the edge of the screen when scrolling
|
||||
set scrolloff=4
|
||||
" Djot setup
|
||||
au BufNewFile,BufRead *.dj set filetype=djot
|
||||
'';
|
||||
withPython3 = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue