From c91245e4e39b80cc7521c5becb93640ecd4a6908 Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 17 Feb 2020 13:22:02 +0000 Subject: +pretty-symbols for c/c++ mode std::string and string should be 'strings' for the c/c++ mode --- doom.d/modules/config.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doom.d/modules') diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org index f8a48e8..39f72bd 100644 --- a/doom.d/modules/config.org +++ b/doom.d/modules/config.org @@ -184,6 +184,20 @@ Emacs doesn't have the full range of styles that I want, so lemme just do it mys (access-label . 0) (label . 0) (statement-cont . +)))) + (set-pretty-symbols! + '(c-mode c++-mode) + :return "return" + :or "||" + :and "&&" + :not "!" + :bool "bool" + :str "string" + :str "std::string" + :float "float" + :int "int" + :false "false" + :true "true" + :null "nullptr")) #+END_SRC ** LSP Add lsp-ui-doc-mode to lsp-ui-mode: allows you to see documentation in a little -- cgit v1.2.3-13-gbd6f