Add polyglot

This commit is contained in:
ItsDrike 2021-12-03 17:33:49 +01:00
parent 13c47143af
commit ea6dc6594a
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
local vim = require("vim")
local cmd = vim.cmd
local g = vim.g
cmd[[Plug 'sheerun/vim-polyglot']]
-- Disable polyglot's "sensible" settings, while there are some nice things it
-- does, I set these manually in my default config and I don't like depending
-- on single plugin for so many things, doing it manually doing it manually is
-- also more explicit making it obvious what's happening
g.polyglot_disabled = {'sensible'}

View file

@ -47,6 +47,7 @@ load_plugin('tmhedberg/SimpylFold')
load_plugin('wakatime/vim-wakatime')
load_plugin('mhinz/vim-startify')
load_plugin('ryanoasis/vim-devicons')
load_plugin_file("polyglot.lua")
load_plugin_file("vim-code-dark.lua")
load_plugin_file("commentary.lua")
load_plugin_file("coc.vim")