chore(vim): remove indent-line, orgmode, and conjure
Indent Line is no longer in use; it's quite an old plugin, and there are likely better ways to implement this functionality. For now, I won't be using any indent markers, and we'll see how that goes. If I encounter issues, I will explore alternative plugins. Orgmode was an attempt to bring over the knowledge base from Emacs. Vim doesn't have the same workflow as Emacs, and everything is less tightly integrated into a single application. I have now transitioned to using Markdown and Obsidian, focusing on the more widely-used Markdown integration. Conjure is too heavy for my needs. All I require is a simple plugin to execute Clojure in a REPL. This plugin conflicts with many other plugins and filetypes, where the LSP (Language Server Protocol) should handle most of the heavy lifting. I've created my own plugin for my very basic use case. See: https://github.com/AdeAttwood/nrepl.nvim
This commit is contained in:
parent
82d2b12659
commit
4cffec6e7f
4 changed files with 5 additions and 18 deletions
|
|
@ -35,19 +35,16 @@ local start_plugins = {
|
|||
["cmp-path"] = { url = "https://github.com/hrsh7th/cmp-path.git", revision = "main" },
|
||||
["Comment.nvim"] = { url = "https://github.com/numToStr/Comment.nvim.git" },
|
||||
["ferret"] = { url = "https://github.com/wincent/ferret.git" },
|
||||
["indent-line"] = { url = "https://github.com/Yggdroot/indentLine.git" },
|
||||
["LuaSnip"] = { url = "https://github.com/L3MON4D3/LuaSnip.git" },
|
||||
["nvim-cmp"] = { url = "https://github.com/hrsh7th/nvim-cmp.git", revision = "main" },
|
||||
["nvim-lint"] = { url = "https://github.com/mfussenegger/nvim-lint.git" },
|
||||
["nvim-lspconfig"] = { url = "https://github.com/neovim/nvim-lspconfig.git" },
|
||||
["nvim-treesitter"] = { url = "https://github.com/nvim-treesitter/nvim-treesitter.git" },
|
||||
["orgmode"] = { url = "https://github.com/nvim-orgmode/orgmode.git" },
|
||||
["vim-puppet"] = { url = "https://github.com/rodjek/vim-puppet.git" },
|
||||
["vim-surround"] = { url = "https://github.com/tpope/vim-surround.git" },
|
||||
["vim-tmux-navigator"] = { url = "https://github.com/christoomey/vim-tmux-navigator.git" },
|
||||
["vim-fugitive"] = { url = "https://github.com/tpope/vim-fugitive.git" },
|
||||
["vim-rhubarb"] = { url = "https://github.com/tpope/vim-rhubarb.git" },
|
||||
["conjure"] = { url = "https://github.com/Olical/conjure.git" },
|
||||
["cmp-cmdline"] = { url = "https://github.com/hrsh7th/cmp-cmdline.git", revision = "main" },
|
||||
["copilot"] = { url = "https://github.com/zbirenbaum/copilot.lua.git" },
|
||||
["copilot-cmp"] = { url = "https://github.com/zbirenbaum/copilot-cmp.git" },
|
||||
|
|
@ -74,3 +71,7 @@ for plugin, config in pairs(opt_plugins) do
|
|||
version = config.revision or "master",
|
||||
}
|
||||
end
|
||||
|
||||
configz.run(string.format("rm -rf %s/conjure", nvim_plugin_dir_start))
|
||||
configz.run(string.format("rm -rf %s/orgmode", nvim_plugin_dir_start))
|
||||
configz.run(string.format("rm -rf %s/indent-line", nvim_plugin_dir_start))
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ cmp.setup({
|
|||
{ name = 'nvim_lsp' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'path' },
|
||||
{ name = 'orgmode' }
|
||||
},
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
-- TODO(ade): Set up org capture into the website node dir
|
||||
-- See https://github.com/AdeAttwood/Dotfiles/blob/86bf86d2010d7ec7b579e7b1c06632d5955f0a3c/site-modules/core/files/emacs/src/org.el#L107
|
||||
|
||||
-- Needs to go before the orgmode.setup or tree sitter will start throwing errors
|
||||
require('orgmode').setup_ts_grammar()
|
||||
|
||||
require('orgmode').setup({
|
||||
org_agenda_files = {'~/Code/src/github.com/AdeAttwood/Website/data/*'},
|
||||
})
|
||||
|
||||
-- Dont folt heading on load.
|
||||
vim.cmd[[autocmd FileType org setlocal nofoldenable]]
|
||||
|
||||
|
|
@ -8,6 +8,6 @@ require'nvim-treesitter.configs'.setup {
|
|||
additional_vim_regex_highlighting = true,
|
||||
},
|
||||
ensure_installed = {
|
||||
"typescript", "javascript", "tsx", "php", "html", "go", "org", "clojure"
|
||||
"typescript", "javascript", "tsx", "php", "html", "go", "clojure"
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue