feat: added glow plugin and marksman for markdown

This commit is contained in:
əlemi 2022-09-01 01:17:12 +02:00
parent 8bd4845675
commit f3be36774b
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -33,6 +33,8 @@ local init_fn = function(use)
use 'alemidev/vim-combo' -- track code combos use 'alemidev/vim-combo' -- track code combos
use 'editorconfig/editorconfig-vim' -- respect editorconfig use 'editorconfig/editorconfig-vim' -- respect editorconfig
use "ellisonleao/glow.nvim" -- markdown previewer with glow
use 'tpope/vim-fugitive' -- better git commands use 'tpope/vim-fugitive' -- better git commands
use 'neovim/nvim-lspconfig' -- import LSP configurations use 'neovim/nvim-lspconfig' -- import LSP configurations
@ -250,6 +252,7 @@ local init_fn = function(use)
lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.pyright.setup({capabilites=capabilities, on_attach=set_lsp_binds}) lspconfig.pyright.setup({capabilites=capabilities, on_attach=set_lsp_binds})
lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds})
local jdtls_bin_path = os.getenv("JDTLS_BIN_PATH") or "jdtls" local jdtls_bin_path = os.getenv("JDTLS_BIN_PATH") or "jdtls"
local home_path = os.getenv("HOME") -- TODO this is not windows friendly local home_path = os.getenv("HOME") -- TODO this is not windows friendly