Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun eshell/lsp (&rest args)
- (mkdir "build" t)
- (cd "build")
- (eshell-command "cmake ..")
- (eshell-command "cmake -H. -BDebug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=YES ..")
- ;; (eshell-command "make")
- (cd "..")
- (eshell-command "ln -s build/Debug/compile_commands.json .")
- )
- watch all files in directory
- (setq-default lsp-file-watch-threshold nil)
- disable which-key slow due to lsp
- (spacemacs/toggle-which-key-off)
Add Comment
Please, Sign In to add comment