Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TheSpark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patricio Bruna
TheSpark
Commits
2d7c6512
Commit
2d7c6512
authored
May 03, 2018
by
Patricio Bruna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nuevo Sublime
parent
437163f4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
241 additions
and
333 deletions
+241
-333
localhost.yml
localhost.yml
+7
-2
main.yml
roles/sublime-text/defaults/main.yml
+91
-0
Base File.sublime-settings
roles/sublime-text/files/Base File.sublime-settings
+0
-7
GitlabIntegrate.sublime-settings
roles/sublime-text/files/GitlabIntegrate.sublime-settings
+0
-26
JavaScript (Babel).sublime-settings
roles/sublime-text/files/JavaScript (Babel).sublime-settings
+0
-6
JavaScriptNext.sublime-settings
roles/sublime-text/files/JavaScriptNext.sublime-settings
+0
-5
Package Control.sublime-settings
roles/sublime-text/files/Package Control.sublime-settings
+0
-61
Preferences.sublime-settings
roles/sublime-text/files/Preferences.sublime-settings
+0
-47
SublimeLinter.sublime-settings
roles/sublime-text/files/SublimeLinter.sublime-settings
+0
-172
main.yml
roles/sublime-text/tasks/main.yml
+26
-7
GitlabIntegrate.sublime-settings.j2
...ublime-text/templates/GitlabIntegrate.sublime-settings.j2
+27
-0
Package_Control.sublime-settings.j2
...ublime-text/templates/Package_Control.sublime-settings.j2
+14
-0
Preferences.sublime-settings.j2
roles/sublime-text/templates/Preferences.sublime-settings.j2
+33
-0
SublimeLinter.sublime-settings.j2
.../sublime-text/templates/SublimeLinter.sublime-settings.j2
+43
-0
No files found.
localhost.yml
View file @
2d7c6512
...
...
@@ -151,5 +151,10 @@
command
:
"
brew
link
--overwrite
docker"
roles
:
# - sublime-text
-
terminal
-
role
:
sublime-text
gitlab
:
project_host
:
git.zboxapp.com
user_token
:
"
FTjFMy9RW2U8y7ArZZi-"
edit_issue_in_tab_name
:
"
[GLI]:
Editing
Issue"
project_id
:
105
# - role: terminal
roles/sublime-text/defaults/main.yml
0 → 100644
View file @
2d7c6512
settings
:
auto_complete
:
"
true"
color_scheme
:
Packages/ayu/ayu-light.tmTheme
highlight_line
:
"
true"
index_files
:
"
true"
show_minimap
:
"
false"
theme
:
name
:
ayu-light.sublime-theme
ui_font_roboto_mono
:
"
true"
ui_font_size_small
:
"
true"
ui_font_source_code_pro
:
"
true"
ui_native_titlebar
:
"
false"
ui_separator
:
"
true"
linter
:
gutter_theme
:
ProjectIcons
paths
:
linux
:
osx
:
-
'
"~/.rbenv/shims/"'
windows
:
syntax_map
:
-
html (django)
:
html
-
html (rails)
:
html
-
html 5
:
html
-
javascript (babel)
:
javascript
-
magicpython
:
python
-
php
:
html
-
python django
:
python
-
pythonimproved
:
python
-
ruby
:
ruby
-
Ruby on Rails
:
ruby
-
ansible
:
ansible
package_control
:
bootstrapped
:
"
true"
packages
:
-
"
A
File
Icon"
-
"
Alignment"
-
"
All
Autocomplete"
-
"
Ansible"
-
"
AnsibleSnippets"
-
"
ayu"
-
"
Babel"
-
"
BeautifyRuby"
-
"
Compare
Side-By-Side"
-
"
DashDoc"
-
"
Diffy"
-
"
DocBlockr"
-
"
Dockerfile
Syntax
Highlighting"
-
"
EditorConfig"
-
"
Emmet"
-
"
ERB
Autocomplete"
-
"
ERB
Snippets"
-
"
ESLint"
-
"
Format
JSDoc
@params"
-
"
Git"
-
"
GitGutter"
-
"
GitlabIntegrate"
-
"
Glue"
-
"
Indent
XML"
-
"
JavaScript
Completions"
-
"
JavaScriptNext
-
ES6
Syntax"
-
"
Jest"
-
"
Jinja2"
-
"
JsFormat"
-
"
JSX"
-
"
Mocha
Snippets"
-
"
nginx"
-
"
Package
Control"
-
"
PlainTasks"
-
"
Pretty
JSON"
-
"
Pretty
Ruby"
-
"
Ruby
Completions"
-
"
RubyTest"
-
"
Rust
Enhanced"
-
"
SideBarEnhancements"
-
"
SublimeCodeIntel"
-
"
SublimeLinter"
-
"
SublimeLinter-contrib-ansible-lint"
-
"
SublimeLinter-contrib-nginx-lint"
-
"
SublimeLinter-contrib-ruby-lint"
-
"
SublimeLinter-eslint"
-
"
SublimeLinter-jshint"
-
"
SublimeLinter-rubocop"
-
"
SublimeLinter-ruby"
-
"
Swift"
-
"
tern_for_sublime"
-
"
Varnish
VCL"
-
"
yardgen"
roles/sublime-text/files/Base File.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
// The mid-line characters to align in a multi-line selection, changing
// this to an empty array will disable mid-line alignment
"alignment_chars": [
"=", ":"
]
}
\ No newline at end of file
roles/sublime-text/files/GitlabIntegrate.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
//The project host
"project_host":"git.zboxapp.com",
//Your user token for GitLab, found in [host]/profile/account
"user_token":"FTjFMy9RW2U8y7ArZZi-",
//Displays the new installation window
"display_intro":false,
//The name of the tab when using Edit Issue In Tab (note: if you open another tab with this name, weird things might happen)
"edit_issue_in_tab_name": "[GLI]: Editing Issue",
//Suppresses output of closed issues for the Select Issue command
"hide_closed_issues":false,
//Appears before all GitlabIntegrate outputs in the console and status bar
"output_prefix":"[GLI]:",
/*
The default project ID.
This can be found by running GitlabIntegrate's "Get Project IDs" command after configuring
your host and user_token. All the projects you have access to should be listed with their IDs.
*/
"project_id": 105
}
roles/sublime-text/files/JavaScript (Babel).sublime-settings
deleted
100644 → 0
View file @
437163f4
{
"extensions":
[
"js"
]
}
roles/sublime-text/files/JavaScriptNext.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
"extensions":
[
]
}
roles/sublime-text/files/Package Control.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"Alignment",
"Ansible",
"AnsibleSnippets",
"ayu",
"Babel",
"BeautifyRuby",
"Compare Side-By-Side",
"Diffy",
"DocBlockr",
"DocBlockr_with_update_capability",
"Dockerfile Syntax Highlighting",
"DoxyDoxygen",
"EditorConfig",
"Emmet",
"ERB Autocomplete",
"ERB Snippets",
"ESLint",
"Format JSDoc @params",
"Git",
"GitGutter",
"GitlabIntegrate",
"Glue",
"Indent XML",
"JavaScript Completions",
"JavaScriptNext - ES6 Syntax",
"Jest",
"Jinja2",
"JsFormat",
"JSX",
"Markdown Preview",
"Mocha Snippets",
"nginx",
"Package Control",
"Pretty JSON",
"Pretty Ruby",
"Ruby Completions",
"Rust Enhanced",
"SideBarEnhancements",
"SublimeCodeIntel",
"SublimeLinter",
"SublimeLinter-contrib-ansible-lint",
"SublimeLinter-contrib-eslint",
"SublimeLinter-contrib-nginx-lint",
"SublimeLinter-jshint",
"SublimeLinter-rubocop",
"SublimeLinter-ruby",
"SummitLinter",
"Swift",
"tern_for_sublime",
"Varnish VCL",
"yardgen"
]
}
roles/sublime-text/files/Preferences.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"
},
{
"characters": ".",
"selector": "source.js"
}
],
"color_scheme": "Packages/ayu/ayu-mirage.tmTheme",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"node_modules"
],
"font_face": "Hack",
"font_size": 12,
"ignored_packages":
[
"Vintage"
],
"replacements":
{
"js_class":
{
"case": false,
"find": " class=\"",
"greedy": true,
"replace": " className=\""
}
},
"skin": "ayu/ayu mirage",
"tab_size": 2,
"tern_argument_completion": true,
"tern_argument_hints": true,
"tern_output_style": "tooltip",
"theme": "ayu-mirage.sublime-theme",
"translate_tabs_to_spaces": true,
"ui_font_size_small": false,
"ui_separator": true
}
roles/sublime-text/files/SublimeLinter.sublime-settings
deleted
100644 → 0
View file @
437163f4
{
"user":
{
"debug": true,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes":
[
],
"lint_mode": "load/save",
"linters":
{
"ansiblelint":
{
"@disable": true,
"R": "",
"args":
[
],
"exclude": "",
"excludes":
[
],
"r": "",
"t": "",
"x": ""
},
"eslint":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"jshint":
{
"@disable": true,
"args":
[
],
"excludes":
[
]
},
"nginxlint":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"rubocop":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"ruby":
{
"@disable": false,
"args":
[
],
"excludes":
[
]
},
"summitlinter":
{
"@disable": true,
"args":
[
],
"excludes":
[
],
"globals": "",
"ignore": "channel",
"limit": null,
"only": ""
}
},
"mark_style": "solid underline",
"no_column_highlights_line": true,
"passive_warnings": false,
"paths":
{
"linux":
[
],
"osx":
[
"~/.rbenv/shims/"
],
"windows":
[
]
},
"python_paths":
{
"linux":
[
],
"osx":
[
],
"windows":
[
]
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": true,
"show_marks_in_minimap": true,
"syntax_map":
{
"coffeescript (gulpfile)": "coffeescript",
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"javascript (babel)": "javascript",
"javascript (eslint)": "javascript",
"javascript (gruntfile)": "javascript",
"javascript (gulpfile)": "javascript",
"javascript (postcss)": "javascript",
"javascript (stylelint)": "javascript",
"javascript (webpack)": "javascript",
"json (babel)": "json",
"json (bower)": "json",
"json (composer)": "json",
"json (eslint)": "json",
"json (npm)": "json",
"json (postcss)": "json",
"json (settings)": "json",
"json (stylelint)": "json",
"json (sublime)": "json",
"json (tern js)": "json",
"magicpython": "python",
"php": "html",
"python django": "python",
"pythonimproved": "python",
"xml (config)": "xml",
"xml (svg)": "xml",
"yaml (circleci)": "yaml",
"yaml (docker)": "yaml",
"yaml (eslint)": "yaml",
"yaml (lock)": "yaml",
"yaml (procfile)": "yaml",
"yaml (stylelint)": "yaml",
"yaml (yarn)": "yaml"
},
"tooltip_fontsize": "1rem",
"tooltip_theme": "Packages/SublimeLinter/tooltip-themes/Inline/Inline.tooltip-theme",
"tooltip_theme_excludes":
[
],
"tooltips": true,
"warning_color": "DDB700",
"wrap_find": true
}
}
roles/sublime-text/tasks/main.yml
View file @
2d7c6512
-
name
:
Instala ruby-lint
tags
:
sublime-text
gem
:
name
:
ruby-lint
state
:
present
-
name
:
install Roboto Font para tema Ansible
tags
:
sublime-text
unarchive
:
...
...
@@ -6,18 +12,31 @@
dest
:
"
{{
lookup('env','HOME')
}}/Library/Fonts/"
creates
:
"
{{
lookup('env','HOME')
}}/Library/Fonts/RobotoMono-Regular.ttf"
-
name
:
ST3 User Package Control Settings
template
:
src
:
Package_Control.sublime-settings.j2
dest
:
"
{{
lookup('env','HOME')
}}/Library/Application
Support/Sublime
Text
3/Packages/User/Package
Control.sublime-settings"
-
name
:
ST3 User Preferences
template
:
src
:
Preferences.sublime-settings.j2
dest
:
"
{{
lookup('env','HOME')
}}/Library/Application
Support/Sublime
Text
3/Packages/User/Preferences.sublime-settings"
-
name
:
ST3 User SublimeLinter Settings
template
:
src
:
SublimeLinter.sublime-settings.j2
dest
:
"
{{
lookup('env','HOME')
}}/Library/Application
Support/Sublime
Text
3/Packages/User/SublimeLinter.sublime-settings"
-
name
:
ST3 User GitlabIntegrate Settings
template
:
src
:
GitlabIntegrate.sublime-settings.j2
dest
:
"
{{
lookup('env','HOME')
}}/Library/Application
Support/Sublime
Text
3/Packages/User/GitlabIntegrate.sublime-settings"
-
name
:
Copia configuraciones
tags
:
sublime-text
copy
:
src
:
"
{{
item
}}"
dest
:
"
{{
lookup('env','HOME')
}}/Library/Application
Support/Sublime
Text
3/Packages/User/{{
item
}}"
with_items
:
-
"
Base
File.sublime-settings"
-
"
Default
(OSX).sublime-keymap"
-
"
GitlabIntegrate.sublime-settings"
-
"
JavaScript
(Babel).sublime-settings"
-
"
JavaScriptNext.sublime-settings"
-
"
Package
Control.sublime-settings"
-
"
Preferences.sublime-settings"
-
"
SublimeLinter.sublime-settings"
-
"
Tern.sublime-settings"
roles/sublime-text/templates/GitlabIntegrate.sublime-settings.j2
0 → 100644
View file @
2d7c6512
{
"display_intro": true,
//The project host
"project_host":"{{ gitlab.project_host }}",
//Your user token for GitLab, found in [host]/profile/account
"user_token":"{{ gitlab.user_token }}",
//Displays the new installation window
"display_intro":false,
//The name of the tab when using Edit Issue In Tab (note: if you open another tab with this name, weird things might happen)
"edit_issue_in_tab_name": "{{ gitlab.edit_issue_in_tab_name }}",
//Suppresses output of closed issues for the Select Issue command
"hide_closed_issues":false,
//Appears before all GitlabIntegrate outputs in the console and status bar
"output_prefix":"[GLI]:",
/*
The default project ID.
This can be found by running GitlabIntegrate's "Get Project IDs" command after configuring
your host and user_token. All the projects you have access to should be listed with their IDs.
*/
"project_id": {{ gitlab.project_id }}
}
roles/sublime-text/templates/Package_Control.sublime-settings.j2
0 → 100644
View file @
2d7c6512
{
"bootstrapped": {{ package_control.bootstrapped }},
"in_process_packages":
[
],
"installed_packages":
[
{% for package in package_control.packages -%}
{% set length = loop.length -%}
{% set index = loop.index %}
"{{ package }}"{%- if index < length -%},{%- endif %}
{% endfor -%}]
}
roles/sublime-text/templates/Preferences.sublime-settings.j2
0 → 100644
View file @
2d7c6512
{
"alignment_chars":
[
"=",
":"
],
"auto_complete": {{ settings.auto_complete | default(false) }},
"auto_complete_commit_on_tab": true,
"color_scheme": "{{ settings.color_scheme }}",
"ensure_newline_at_eof_on_save": true,
"highlight_line": {{ settings.highlight_line | default(true) }},
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"index_files": true,
"rulers":
[
90,
130
],
"show_minimap": {{ settings.show_minimap | default(false) }},
"theme": {{ theme.name }},
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"ui_font_roboto_mono": {{ theme.ui_font_roboto_mono }},
"ui_font_size_small": {{ theme.ui_font_size_small }},
"ui_font_source_code_pro": true,
"ui_native_titlebar": {{ ui_native_titlebar | default(true) }},
"ui_separator": {{ ui_native_titlebar | default(true) }},
"ui_wide_scrollbars": false
}
roles/sublime-text/templates/SublimeLinter.sublime-settings.j2
0 → 100644
View file @
2d7c6512
// SublimeLinter Settings - User
{
"gutter_theme": "{{ linter.gutter_theme }}",
"paths": {
"linux": [],
"osx": [{{ linter.paths.osx | join(', ') }}],
"windows": []
},
"styles": [
{
"mark_style": "solid_underline",
"priority": 1,
"scope": "region.yellowish markup.changed.sublime_linter markup.warning.sublime_linter",
"icon": "circle",
"types": [
"warning"
]
},
{
"mark_style": "solid_underline",
"priority": 1,
"scope": "region.redish markup.deleted.sublime_linter markup.error.sublime_linter",
"icon": "circle",
"types": [
"error"
]
}
],
// Maps variant syntaxes to the syntax that you have a linter for.
// The syntax is the name of the syntax definition file, in lower case
// Run this in the console to find it: view.settings().get('syntax').lower()
"syntax_map": {
{%- for syntax in linter.syntax_map -%}
{%- set length = loop.length -%}
{%- set index = loop.index -%}
{%- for name, linter in syntax.items() %}
"{{ name }}": "{{ linter }}"{%- if index < length %},{% endif %}
{% endfor -%}
{%- endfor %}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment