feat!: remove neorg, adjust oil
This commit is contained in:
		
							parent
							
								
									a01fcc846a
								
							
						
					
					
						commit
						0226d1aeb6
					
				@ -139,7 +139,7 @@ return {
 | 
			
		||||
			disable_builtin_notifications = false,
 | 
			
		||||
			use_magit_keybindings = false,
 | 
			
		||||
			-- Change the default way of opening neogit
 | 
			
		||||
			kind = 'replace',
 | 
			
		||||
			kind = 'tab',
 | 
			
		||||
			-- The time after which an output console is shown for slow running commands
 | 
			
		||||
			console_timeout = 2000,
 | 
			
		||||
			-- Automatically show console if a command takes more than console_timeout milliseconds
 | 
			
		||||
@ -210,12 +210,25 @@ return {
 | 
			
		||||
		-- lazy = false,
 | 
			
		||||
		event = 'Syntax',
 | 
			
		||||
		opts = {
 | 
			
		||||
			columns = {
 | 
			
		||||
				"icon",
 | 
			
		||||
				"permissions",
 | 
			
		||||
				"size",
 | 
			
		||||
				"mtime",
 | 
			
		||||
			},
 | 
			
		||||
			-- Buffer-local options to use for oil buffers
 | 
			
		||||
			buf_options = {
 | 
			
		||||
				buflisted = false,
 | 
			
		||||
			},
 | 
			
		||||
			-- Window-local options to use for oil buffers
 | 
			
		||||
			win_options = {
 | 
			
		||||
				wrap = false,
 | 
			
		||||
				signcolumn = "no",
 | 
			
		||||
				cursorcolumn = false,
 | 
			
		||||
				foldcolumn = "0",
 | 
			
		||||
				spell = false,
 | 
			
		||||
				list = false,
 | 
			
		||||
				conceallevel = 3,
 | 
			
		||||
				concealcursor = 'nvic',
 | 
			
		||||
			},
 | 
			
		||||
			keymaps = {
 | 
			
		||||
@ -285,13 +298,13 @@ return {
 | 
			
		||||
		-- dependencies = 'windwp/nvim-ts-autotag',
 | 
			
		||||
		event = 'VeryLazy',
 | 
			
		||||
		config = function()
 | 
			
		||||
			-- require('nvim-treesitter.parsers').get_parser_configs().asm = {
 | 
			
		||||
			-- 	install_info = {
 | 
			
		||||
			-- 		url = 'https://github.com/rush-rs/tree-sitter-asm.git',
 | 
			
		||||
			-- 		files = { 'src/parser.c' },
 | 
			
		||||
			-- 		branch = 'main',
 | 
			
		||||
			-- 	},
 | 
			
		||||
			-- }
 | 
			
		||||
			require('nvim-treesitter.parsers').get_parser_configs().asm = {
 | 
			
		||||
				install_info = {
 | 
			
		||||
					url = 'https://github.com/rush-rs/tree-sitter-asm.git',
 | 
			
		||||
					files = { 'src/parser.c' },
 | 
			
		||||
					branch = 'main',
 | 
			
		||||
				},
 | 
			
		||||
			}
 | 
			
		||||
			local configs = require 'nvim-treesitter.configs'
 | 
			
		||||
 | 
			
		||||
			configs.setup {
 | 
			
		||||
@ -331,33 +344,6 @@ return {
 | 
			
		||||
			width = 0.6,
 | 
			
		||||
		},
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		"nvim-neorg/neorg",
 | 
			
		||||
		cmd = { "Neorg" },
 | 
			
		||||
		ft = { "norg" },
 | 
			
		||||
		build = ":Neorg sync-parsers",
 | 
			
		||||
		dependencies = { "nvim-lua/plenary.nvim" },
 | 
			
		||||
		config = function()
 | 
			
		||||
			require("neorg").setup {
 | 
			
		||||
				load = {
 | 
			
		||||
					["core.integrations.treesitter"] = {},
 | 
			
		||||
					["core.defaults"] = {}, -- Loads default behaviour
 | 
			
		||||
					["core.concealer"] = {}, -- Adds pretty icons to your documents
 | 
			
		||||
					["core.export"] = {},
 | 
			
		||||
					["core.ui"] = {},
 | 
			
		||||
					["core.completion"] = { config = { engine = "nvim-cmp" } },
 | 
			
		||||
					["core.dirman"] = { -- Manages Neorg workspaces
 | 
			
		||||
						config = {
 | 
			
		||||
							workspaces = {
 | 
			
		||||
								notes = "~/notes",
 | 
			
		||||
							},
 | 
			
		||||
							default_workspace = "notes",
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
				},
 | 
			
		||||
			}
 | 
			
		||||
		end,
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		"ecthelionvi/NeoSwap.nvim",
 | 
			
		||||
		opts = {}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user