Simplify statusline, support tabs, add more languages
This commit is contained in:
parent
c28dd3e9a9
commit
bb94a399de
11 changed files with 166 additions and 109 deletions
|
|
@ -2,6 +2,8 @@ require'nvim-treesitter.configs'.setup {
|
|||
ensure_installed = {
|
||||
"c",
|
||||
"css",
|
||||
"glsl",
|
||||
"go",
|
||||
"html",
|
||||
"java",
|
||||
"javascript",
|
||||
|
|
@ -29,3 +31,10 @@ require'nvim-treesitter.configs'.setup {
|
|||
},
|
||||
}
|
||||
|
||||
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
|
||||
pattern = {"*.vert", "*.frag"},
|
||||
callback = function()
|
||||
vim.bo.filetype = "glsl"
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue