Remove neorg
This commit is contained in:
		@ -204,26 +204,6 @@
 | 
				
			|||||||
        :after :nvim-lspconfig
 | 
					        :after :nvim-lspconfig
 | 
				
			||||||
        :config (module-fn! :plugin.jdtls :configure))
 | 
					        :config (module-fn! :plugin.jdtls :configure))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ;; neorg
 | 
					 | 
				
			||||||
  (use! :nvim-neorg/neorg
 | 
					 | 
				
			||||||
        :ft "norg"
 | 
					 | 
				
			||||||
        :cmd "Neorg"
 | 
					 | 
				
			||||||
        :module :neorg
 | 
					 | 
				
			||||||
        :requires :nvim-lua/plenary.nvim
 | 
					 | 
				
			||||||
        :run ":Neorg sync-parsers"
 | 
					 | 
				
			||||||
        :config #(setup! :neorg
 | 
					 | 
				
			||||||
                         :load {
 | 
					 | 
				
			||||||
                           :core.defaults { }
 | 
					 | 
				
			||||||
                           :core.norg.concealer { }
 | 
					 | 
				
			||||||
                           :core.norg.completion {
 | 
					 | 
				
			||||||
                             :config { :engine :nvim-cmp }}
 | 
					 | 
				
			||||||
                           :core.norg.dirman {
 | 
					 | 
				
			||||||
                             :config {
 | 
					 | 
				
			||||||
                               :workspaces {
 | 
					 | 
				
			||||||
                                 :japanese "~/neorg/japanese/"
 | 
					 | 
				
			||||||
                               }
 | 
					 | 
				
			||||||
                               :index "index.norg" }}}))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  ;; Sync all packages on first launch
 | 
					  ;; Sync all packages on first launch
 | 
				
			||||||
  (if _G.first_launch
 | 
					  (if _G.first_launch
 | 
				
			||||||
      (module-call! :packer :sync)))
 | 
					      (module-call! :packer :sync)))
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								init.fnl
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.fnl
									
									
									
									
									
								
							@ -56,7 +56,7 @@
 | 
				
			|||||||
(set vim.opt.modeline false)
 | 
					(set vim.opt.modeline false)
 | 
				
			||||||
(set vim.opt.modelines 0)
 | 
					(set vim.opt.modelines 0)
 | 
				
			||||||
; Auto chdir into files' dirs
 | 
					; Auto chdir into files' dirs
 | 
				
			||||||
(set vim.opt.autochdir true)
 | 
					;(set vim.opt.autochdir true)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Remove trailing whitespace
 | 
					;; Remove trailing whitespace
 | 
				
			||||||
(fn remove-trailing-whitespace []
 | 
					(fn remove-trailing-whitespace []
 | 
				
			||||||
@ -78,7 +78,7 @@
 | 
				
			|||||||
                                    "Disabled Spellcheck")))))
 | 
					                                    "Disabled Spellcheck")))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Enable spell in certian buffers
 | 
					;; Enable spell in certian buffers
 | 
				
			||||||
(hook! :FileType [ :text :markdown :tex :bib :norg ]
 | 
					(hook! :FileType [ :text :markdown :tex :bib ]
 | 
				
			||||||
       #(if (= (vim.fn.buflisted (vim.api.nvim_get_current_buf)) 1)
 | 
					       #(if (= (vim.fn.buflisted (vim.api.nvim_get_current_buf)) 1)
 | 
				
			||||||
          (set vim.opt_local.spell true)))
 | 
					          (set vim.opt_local.spell true)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user