Commit 2d7c6512 authored by Patricio Bruna's avatar Patricio Bruna

Nuevo Sublime

parent 437163f4
......@@ -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
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"
{
// 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
{
//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
}
{
"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"
]
}
{
"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
}
{
"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
}
}
- 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"
{
"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 }}
}
{
"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 -%}]
}
{
"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
}
// 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 %}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment