From 12967e01ff6c34970815518f60ac5486e191d7b5 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 5 Aug 2021 20:06:36 -0700 Subject: [PATCH] Add Sublime --- Sublime.md | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ _Sidebar.md | 1 + 2 files changed, 55 insertions(+) create mode 100644 Sublime.md diff --git a/Sublime.md b/Sublime.md new file mode 100644 index 0000000..593905a --- /dev/null +++ b/Sublime.md @@ -0,0 +1,54 @@ +`LSP.sublime-settings` + +```python +{ + "clients": + { + "cc-langserver": + { + "command": ["/Users/tim/Downloads/github/ccls/build/Release/ccls"], + "enabled": false, + "languages": [ + { + "scopes": ["source.c"], + "syntaxes": ["Packages/C++/C.sublime-syntax"], + "languageId": "c" + }, + { + "scopes": ["source.c++"], + "syntaxes": ["Packages/C++/C++.sublime-syntax"], + "languageId": "cpp" + }, + { + "scopes": ["source.objc"], + "syntaxes": ["Packages/Objective-C/Objective-C.sublime-syntax"], + "languageId": "objective-c" + }, + { + "scopes": ["source.objc++"], + "syntaxes": ["Packages/Objective-C/Objective-C++.sublime-syntax"], + "languageId": "objective-cpp" + }], + "initializationOptions": + { + "cache": + { + "directory": "/tmp/ccls-cache" + }, + "completion": + { + "detailedLabel": true + }, + "clang": + { + "extraArgs": [ + "-isystem", + "/Library/Developer/CommandLineTools/usr/include/c++/v1" + ], + "resourceDir": "/usr/local/Cellar/llvm/12.0.1/lib/clang/12.0.1" + } + } + } + } +} +``` diff --git a/_Sidebar.md b/_Sidebar.md index 21eb79e..947c984 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -12,6 +12,7 @@ + [[coc.nvim]] + [[LanguageClient-neovim]] + [[nvim-lspconfig]] + + [[Sublime]] + [[vim-lsp]] + [[vim-lsc]] + [[YouCompleteMe]]