mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 05:04:34 +00:00
Add polyglot
This commit is contained in:
parent
13c47143af
commit
ea6dc6594a
11
home/.config/nvim/lua/plugins.d/polyglot.lua
Normal file
11
home/.config/nvim/lua/plugins.d/polyglot.lua
Normal 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'}
|
|
@ -47,6 +47,7 @@ load_plugin('tmhedberg/SimpylFold')
|
||||||
load_plugin('wakatime/vim-wakatime')
|
load_plugin('wakatime/vim-wakatime')
|
||||||
load_plugin('mhinz/vim-startify')
|
load_plugin('mhinz/vim-startify')
|
||||||
load_plugin('ryanoasis/vim-devicons')
|
load_plugin('ryanoasis/vim-devicons')
|
||||||
|
load_plugin_file("polyglot.lua")
|
||||||
load_plugin_file("vim-code-dark.lua")
|
load_plugin_file("vim-code-dark.lua")
|
||||||
load_plugin_file("commentary.lua")
|
load_plugin_file("commentary.lua")
|
||||||
load_plugin_file("coc.vim")
|
load_plugin_file("coc.vim")
|
||||||
|
|
Loading…
Reference in a new issue