+pretty-symbols for c/c++ mode

std::string and string should be 'strings' for the c/c++ mode
This commit is contained in:
AChavali
2020-02-17 13:22:02 +00:00
parent 1e17f9a6f2
commit c91245e4e3

View File

@@ -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