Sublime Rust Package

This commit is contained in:
ADRN 2021-10-09 15:02:23 +02:00
parent eedcf7a41c
commit 123807e3f0
5 changed files with 33 additions and 24 deletions

View File

@ -5,7 +5,6 @@
], ],
"installed_packages": "installed_packages":
[ [
"All Autocomplete",
"AutoPEP8", "AutoPEP8",
"ayu", "ayu",
"Compare Side-By-Side", "Compare Side-By-Side",
@ -13,34 +12,28 @@
"DocBlockr_Python", "DocBlockr_Python",
"Dockerfile Syntax Highlighting", "Dockerfile Syntax Highlighting",
"ExportHtml", "ExportHtml",
"Git",
"GitGutter",
"GoSublime",
"Helium", "Helium",
"HTML-CSS-JS Prettify", "HTML-CSS-JS Prettify",
"Javascript Beautify",
"Language - French - Français", "Language - French - Français",
"LaTeXing", "LaTeXing",
"LaTeXTools", "LaTeXTools",
"Layout",
"Markdown Extended", "Markdown Extended",
"Markdown HTML Preview", "Markdown HTML Preview",
"Markdown Images", "Markdown Images",
"MarkdownLivePreview", "MarkdownLivePreview",
"MultiEditUtils",
"Package Control", "Package Control",
"Pandoc", "Pandoc",
"Predawn", "Predawn",
"Pretty JSON", "Pretty JSON",
"Processing",
"ProjectManager", "ProjectManager",
"SublimeCodeIntel", "RustFmt",
"SublimeLinter", "SublimeLinter",
"SublimeLinter-cppcheck", "SublimeLinter-cppcheck",
"SublimeLinter-pycodestyle", "SublimeLinter-pycodestyle",
"SublimeLinter-pyflakes", "SublimeLinter-pyflakes",
"SublimeREPL",
"SwitchDictionary", "SwitchDictionary",
"WordCount" "Terraform",
] "WordCount",
],
"submit_usage": false,
} }

View File

@ -99,21 +99,31 @@
"unlinkable", "unlinkable",
"unlinkability", "unlinkability",
"Rouvoy", "Rouvoy",
"jacente" "jacente",
"plateforme",
"massification",
], ],
"close_windows_when_empty": false, "close_windows_when_empty": false,
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme", "color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
"dictionary": "Packages/Language - French - Français/fr_FR.dic", "dictionary": "Packages/Language - English/en_GB.dic",
"find_selected_text": true, "find_selected_text": true,
"font_face": "Fira Code", "font_face": "Fira Code",
"font_size": 11, "font_size": 11,
"ignored_packages": "ignored_packages":
[ [
"GoSublime", "ActionScript",
"AppleScript",
"ASP",
"AutoPEP8",
"ayu",
"C#",
"Clojure",
"Git Formats",
"HTML-CSS-JS Prettify", "HTML-CSS-JS Prettify",
"LaTeXTools", "LaTeXTools",
"SublimeLinter",
"SublimeLinter-pycodestyle", "SublimeLinter-pycodestyle",
"Vintage" "Vintage",
], ],
"ignored_words": "ignored_words":
[ [
@ -126,5 +136,5 @@
"predawn_sidebar_arrows": false, "predawn_sidebar_arrows": false,
"predawn_sidebar_small": true, "predawn_sidebar_small": true,
"predawn_tabs_small": true, "predawn_tabs_small": true,
"theme": "predawn-DEV.sublime-theme" "theme": "predawn-DEV.sublime-theme",
} }

View File

@ -0,0 +1,7 @@
// These settings override both User and Default settings for the Rust syntax
{
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
}

View File

@ -0,0 +1,5 @@
// RustFmt Settings - User
{
"executable": ["rustfmt", "+nightly", "--edition", "2018"],
// "error_messages": false,
}

8
zshrc
View File

@ -89,10 +89,6 @@ export EDITOR='vim'
# plugins, and themes. Aliases can be placed here, though oh-my-zsh # plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`. # For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias o="xdg-open > /dev/null 2>&1" alias o="xdg-open > /dev/null 2>&1"
alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr" alias awsdf="aws --endpoint-url https://garage.deuxfleurs.fr"
@ -103,14 +99,11 @@ if [ -d "$GOPATH/bin" ] ; then
PATH="$PATH:$GOPATH/bin" PATH="$PATH:$GOPATH/bin"
fi fi
#export PATH=/home/adrien/bin:/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/adrien/goroot/bin:/usr/local/go/bin:/home/adrien/goroot/bin:/home/adrien/.shadow/bin
#export PATH=$PATH:/home/adrien/.shadow/bin
export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.local/bin
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ] ; then
PATH="$PATH:$HOME/bin" PATH="$PATH:$HOME/bin"
fi fi
# Enable Autojump (j) # Enable Autojump (j)
if [ -f "/usr/share/autojump/autojump.sh" ]; then if [ -f "/usr/share/autojump/autojump.sh" ]; then
. /usr/share/autojump/autojump.sh . /usr/share/autojump/autojump.sh
@ -120,3 +113,4 @@ fi
if [ -f ~/.zshrc.local ]; then if [ -f ~/.zshrc.local ]; then
. ~/.zshrc.local . ~/.zshrc.local
fi fi