New answers tagged


You can try Just Another Cloning package. Installation: Put jac.el into any directory from your load-path and put (autoload 'jac "jac") into your init file. Usage: With the buffer you want to clone type M-x jac RET. It copies the buffer content of the original buffer and synchronizes text modifications of both buffers but does not touch text properties....


The ccls semantic highlight is adhoc implementation implemented before the semantic highlight was added to lsp protocol(which FTR is still not in but there is proposal implemented by several language servers). and it is not controlled from lsp-enable-semantic-highlight variable. To disable it do (setq ccls-sem-highlight-method nil)


Based on the examples in section Customizing Search-Based Fontification of the elisp manual, I would propose this: (add-hook 'clojure-mode-hook (lambda () (font-lock-add-keywords nil '(("\\(@\\)" 1 '(:foreground "red") prepend))))) This uses an anonymous face with red foreground, any face could of course be used.


I am not a fan on my approach, but I ended up redefining (org-fontify-meta-lines-and-blocks-1). I am posting the idea here : (defun org-fontify-meta-lines-and-blocks-1 (limit) "Fontify #+ lines and blocks." (let ((case-fold-search t)) (when (re-search-forward "^\\([ \t]*#\\(\\(\\+[a-zA-Z]+:?\\| \\|$\\)\\(_\\([a-zA-Z]+\\)\\)?\\)[ \t]*\\(\\([^ \...

Top 50 recent answers are included