nvim: added treesitter config for v; removed v plugin
parent
952755a465
commit
079f20f0ac
|
@ -1,3 +1,5 @@
|
||||||
require"nvim-treesitter.configs".setup {
|
require"nvim-treesitter.configs".setup {
|
||||||
highlight = { enable = true }
|
highlight = { enable = true }
|
||||||
}
|
}
|
||||||
|
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||||
|
parser_config.v = {}
|
||||||
|
|
|
@ -104,12 +104,6 @@ require('packer').startup(function(use)
|
||||||
-- LaTeX editing
|
-- LaTeX editing
|
||||||
use "lervag/vimtex"
|
use "lervag/vimtex"
|
||||||
|
|
||||||
-- V support
|
|
||||||
use {
|
|
||||||
"ollykel/v-vim",
|
|
||||||
config = [[require('config.v')]]
|
|
||||||
}
|
|
||||||
|
|
||||||
if packer_bootstrap then
|
if packer_bootstrap then
|
||||||
require('packer').sync()
|
require('packer').sync()
|
||||||
end
|
end
|
||||||
|
|
|
@ -55,3 +55,4 @@ o.updatetime = 250
|
||||||
o.shelltemp = false
|
o.shelltemp = false
|
||||||
|
|
||||||
-- o.completeopt = "menuone,noselect"
|
-- o.completeopt = "menuone,noselect"
|
||||||
|
vim.cmd([[autocmd BufRead,BufNewFile *.v,*.vsh setlocal filetype=v]])
|
||||||
|
|
Loading…
Reference in New Issue