| 1 |
%YAML 1.2 |
| 2 |
--- |
| 3 |
# PyMol 2.0 Script Syntax Highlighting |
| 4 |
# File Types: .pml |
| 5 |
# Maintainer: bioSyntax.org |
| 6 |
# Version: v0.1 |
| 7 |
|
| 8 |
name: PyMol |
| 9 |
file_extensions: |
| 10 |
- pml |
| 11 |
scope: source.pml |
| 12 |
|
| 13 |
variables: |
| 14 |
structure_extensions: '(pdb|pdbx|pdbml|xml|cif|mmcif|map|pse)(.gz)?' |
| 15 |
|
| 16 |
pml_cmd: 'abort|accept|alias|align|alignto|alphatoall|alter| |
| 17 |
|alter_state|angle|api|as|assert|attach|backward|bg_color|bond| |
| 18 |
|button|cache|callout|capture|cartoon|cd|cealign|center| |
| 19 |
|centerofmass|check|class|clean|clip|cls|color|config_mouse| |
| 20 |
|copy|copy_to|count_atoms|count_discrete|count_frames| |
| 21 |
|count_states|create|cycle_valence|decline|def|del|delete| |
| 22 |
|deprotect|desaturate|deselect|dihedral|dir|disable|distance| |
| 23 |
|drag|draw|dss|dump|edit|edit_mode|embed|enable|ending|exec| |
| 24 |
|export_dots|extra_fit|extract|fab|feedback|fetch|fit| |
| 25 |
|fix_chemistry|flag|focal_blur|for|fork|forward|fragment|frame| |
| 26 |
|full_screen|fuse|get|get_angle|get_area|get_bond|get_chains| |
| 27 |
|get_dihedral|get_distance|get_extent|get_position|get_property| |
| 28 |
|get_property_list|get_renderer|get_sasa_relative|get_symmetry| |
| 29 |
|get_title|get_type|get_version|get_view|get_viewport|global| |
| 30 |
|gradient|group|h_add|h_fill|h_fix|help|help_setting|hide| |
| 31 |
|id_atom|identify|if|import|index|indicate|intra_fit|intra_rms| |
| 32 |
|intra_rms_cur|invert|isodot|isolevel|isomesh|isosurface| |
| 33 |
|iterate|iterate_state|join_states|label|load|load_embedded| |
| 34 |
|load_mtz|load_png|load_traj|loadall|log|log_close|log_open| |
| 35 |
|ls|madd|map_double|map_halve|map_new|map_set|map_set_border| |
| 36 |
|map_trim|mappend|mask|matrix_copy|matrix_reset|mclear|mcopy| |
| 37 |
|mdelete|mdo|mdump|mem|meter_reset|middle|minsert|mmatrix| |
| 38 |
|mmove|morph|mouse|move|movie.load|movie.nutate|movie.pause| |
| 39 |
|movie.produce|movie.rock|movie.roll|movie.screw|movie.sweep| |
| 40 |
|movie.tdroll|movie.zoom|mplay|mpng|mse2met|mset|mstop|mtoggle| |
| 41 |
|multisave|mview|order|orient|origin|overlap|pair_fit|pass| |
| 42 |
|phi_psi|(?<!\.)png|pop|protect|pseudoatom|pwd|quit|raise|ramp_new| |
| 43 |
|ramp_update|ray|rebuild|recolor|redo|reference|refresh| |
| 44 |
|refresh_wizard|reinitialize|remove|remove_picked|rename| |
| 45 |
|replace|replace_wizard|reset|resume|rewind|rms|rms_cur|rock| |
| 46 |
|rotate|run|save|scene|scene_order|sculpt_activate|sculpt_deactivate| |
| 47 |
|sculpt_iterate|sculpt_purge|select|set|set_atom_property| |
| 48 |
|set_bond|set_color|set_dihedral|set_geometry|set_key|set_name| |
| 49 |
|set_property|set_symmetry|set_title|set_view|show|slice_new| |
| 50 |
|smooth|sort|space|spawn|spectrum|spheroid|splash|split_chains| |
| 51 |
|split_states|stereo|super|symexp|symmetry_copy|system|toggle| |
| 52 |
|torsion|translate|try|turn|unbond|undo|ungroup|uniquify|unmask| |
| 53 |
|unpick|unset|unset_bond|unset_deep|update|util.cbab|util.cbac| |
| 54 |
|util.cbag|util.cbak|util.cbam|util.cbao|util.cbap|util.cbas| |
| 55 |
|util.cbaw|util.cbay|util.cbc|util.chainbow|util.cnc|util.rainbow| |
| 56 |
|util.ss|valence|vdw_fit|view|viewport|volume|volume_color| |
| 57 |
|volume_panel|volume_ramp_new|while|window|wizard|zoom' |
| 58 |
|
| 59 |
pml_set: 'active_selections|alignment_as_cylinders|all_states| |
| 60 |
|ambient|ambient_occlusion_mode|ambient_occlusion_scale| |
| 61 |
|ambient_occlusion_smooth|anaglyph_mode|angle_color| |
| 62 |
|angle_label_position|angle_size|animation|animation_duration| |
| 63 |
|antialias|antialias_shader|assembly|async_builds|ati_bugs| |
| 64 |
|atom_name_wildcard|atom_type_format|auto_classify_atoms| |
| 65 |
|auto_color|auto_color_next|auto_copy_images|auto_defer_atom_count| |
| 66 |
|auto_defer_builds|auto_dss|auto_hide_selections| |
| 67 |
|auto_indicate_flags|auto_number_selections|auto_overlay| |
| 68 |
|auto_remove_hydrogens|auto_rename_duplicate_objects|auto_sculpt| |
| 69 |
|auto_show_classified|auto_show_lines|auto_show_nonbonded| |
| 70 |
|auto_show_selections|auto_show_spheres|auto_zoom|autoclose_dialogs| |
| 71 |
|backface_cull|batch_prefix|bg_gradient|bg_image_filename| |
| 72 |
|bg_image_linear|bg_image_mode|bg_image_tilesize|bg_rgb| |
| 73 |
|bg_rgb_bottom|bg_rgb_top|button_mode|button_mode_name| |
| 74 |
|cache_display|cache_frames|cache_max|cache_memory|cache_mode| |
| 75 |
|cartoon_all_alt|cartoon_color|cartoon_cylindrical_helices| |
| 76 |
|cartoon_debug|cartoon_discrete_colors|cartoon_dumbbell_length| |
| 77 |
|cartoon_dumbbell_radius|cartoon_dumbbell_width| |
| 78 |
|cartoon_fancy_helices|cartoon_fancy_sheets|cartoon_flat_cycles| |
| 79 |
|cartoon_flat_sheets|cartoon_gap_cutoff|cartoon_helix_radius| |
| 80 |
|cartoon_highlight_color|cartoon_ladder_color|cartoon_ladder_mode| |
| 81 |
|cartoon_ladder_radius|cartoon_loop_cap|cartoon_loop_quality| |
| 82 |
|cartoon_loop_radius|cartoon_nucleic_acid_as_cylinders| |
| 83 |
|cartoon_nucleic_acid_color|cartoon_nucleic_acid_mode| |
| 84 |
|cartoon_oval_length|cartoon_oval_quality|cartoon_oval_width| |
| 85 |
|cartoon_power|cartoon_power_b|cartoon_putty_quality| |
| 86 |
|cartoon_putty_radius|cartoon_putty_range|cartoon_putty_scale_max| |
| 87 |
|cartoon_putty_scale_min|cartoon_putty_scale_power| |
| 88 |
|cartoon_putty_transform|cartoon_rect_length|cartoon_rect_width| |
| 89 |
|cartoon_refine|cartoon_refine_normals|cartoon_refine_tips| |
| 90 |
|cartoon_ring_color|cartoon_ring_finder|cartoon_ring_mode| |
| 91 |
|cartoon_ring_radius|cartoon_ring_transparency|cartoon_ring_width| |
| 92 |
|cartoon_round_helices|cartoon_sampling|cartoon_side_chain_helper| |
| 93 |
|cartoon_smooth_cycles|cartoon_smooth_first|cartoon_smooth_last| |
| 94 |
|cartoon_smooth_loops|cartoon_throw|cartoon_trace_atoms| |
| 95 |
|cartoon_transparency|cartoon_tube_cap|cartoon_tube_quality| |
| 96 |
|cartoon_tube_radius|cartoon_use_shader|cavity_cull|cgo_debug| |
| 97 |
|cgo_dot_radius|cgo_dot_width|cgo_ellipsoid_quality|cgo_lighting| |
| 98 |
|cgo_line_radius|cgo_line_width|cgo_ray_width_scale| |
| 99 |
|cgo_shader_ub_color|cgo_shader_ub_flags|cgo_shader_ub_normal| |
| 100 |
|cgo_sphere_quality|cgo_transparency|cgo_use_shader|chromadepth| |
| 101 |
|cif_keepinmemory|cif_use_auth|clamp_colors|clean_electro_mode| |
| 102 |
|collada_background_box|collada_export_lighting| |
| 103 |
|collada_geometry_mode|cone_quality|connect_bonded|connect_cutoff| |
| 104 |
|connect_mode|coulomb_cutoff|coulomb_dielectric| |
| 105 |
|coulomb_units_factor|dash_as_cylinders|dash_color|dash_gap| |
| 106 |
|dash_length|dash_radius|dash_round_ends|dash_transparency| |
| 107 |
|dash_use_shader|dash_width|debug_pick|default_2fofc_map_rep| |
| 108 |
|default_buster_names|default_fofc_map_rep|default_phenix_names| |
| 109 |
|default_phenix_no_fill_names|default_refmac_names| |
| 110 |
|defer_builds_mode|defer_updates|depth_cue|dihedral_color| |
| 111 |
|dihedral_label_position|dihedral_size|direct| |
| 112 |
|display_scale_factor|dist_counter|distance_exclusion| |
| 113 |
|dot_as_spheres|dot_color|dot_density|dot_hydrogens|dot_lighting| |
| 114 |
|dot_mode|dot_normals|dot_radius|dot_solvent|dot_use_shader| |
| 115 |
|dot_width|draw_frames|draw_mode|dynamic_measures|dynamic_width| |
| 116 |
|dynamic_width_factor|dynamic_width_max|dynamic_width_min| |
| 117 |
|edit_light|editor_auto_dihedral|editor_auto_measure| |
| 118 |
|editor_auto_origin|editor_bond_cycle_mode| |
| 119 |
|editor_label_fragments|ellipsoid_color|ellipsoid_probability| |
| 120 |
|ellipsoid_quality|ellipsoid_scale|ellipsoid_transparency| |
| 121 |
|fast_idle|fetch_host|fetch_path|fetch_type_default|field_of_view| |
| 122 |
|fit_iterations|fit_kabsch|fit_tolerance|float_labels|fog| |
| 123 |
|fog_start|gamma|gaussian_b_adjust|gaussian_b_floor| |
| 124 |
|gaussian_resolution|geometry_export_mode|gradient_max_length| |
| 125 |
|gradient_min_length|gradient_min_slope|gradient_normal_min_dot| |
| 126 |
|gradient_spacing|gradient_step_size|gradient_symmetry|grid_max| |
| 127 |
|grid_mode|grid_slot|group_arrow_prefix|group_auto_mode| |
| 128 |
|group_full_member_names|h_bond_cone|h_bond_cutoff_center| |
| 129 |
|h_bond_cutoff_edge|h_bond_exclusion|h_bond_from_proton| |
| 130 |
|h_bond_max_angle|h_bond_power_a|h_bond_power_b|half_bonds| |
| 131 |
|hash_max|heavy_neighbor_cutoff|hide_long_bonds| |
| 132 |
|hide_underscore_names|idle_delay|ignore_case|ignore_case_chain| |
| 133 |
|ignore_pdb_segi|image_copy_always|image_dots_per_inch| |
| 134 |
|internal_feedback|internal_gui|internal_gui_control_size| |
| 135 |
|internal_gui_mode|internal_gui_width|internal_prompt| |
| 136 |
|isomesh_auto_state|keep_alive|label_anchor|label_angle_digits| |
| 137 |
|label_bg_color|label_bg_outline|label_bg_transparency| |
| 138 |
|label_color|label_connector|label_connector_color| |
| 139 |
|label_connector_ext_length|label_connector_mode| |
| 140 |
|label_connector_width|label_digits|label_dihedral_digits| |
| 141 |
|label_distance_digits|label_font_id|label_multiline_justification| |
| 142 |
|label_multiline_spacing|label_outline_color|label_padding| |
| 143 |
|label_placement_offset|label_position|label_relative_mode| |
| 144 |
|label_screen_point|label_shadow_mode|label_size|label_z_target| |
| 145 |
|legacy_mouse_zoom|light|light2|light3|light4|light5|light6|light7| |
| 146 |
|light8|light9|light_count|line_as_cylinders|line_color| |
| 147 |
|line_radius|line_smooth|line_stick_helper|line_use_shader| |
| 148 |
|line_width|load_atom_props_default|load_object_props_default| |
| 149 |
|log_box_selections|log_conformations|logging|map_auto_expand_sym| |
| 150 |
|matrix_mode|max_threads|max_ups|mesh_as_cylinders| |
| 151 |
|mesh_carve_cutoff|mesh_carve_selection|mesh_carve_state| |
| 152 |
|mesh_clear_cutoff|mesh_clear_selection|mesh_clear_state| |
| 153 |
|mesh_color|mesh_cutoff|mesh_grid_max|mesh_lighting|mesh_mode| |
| 154 |
|mesh_negative_color|mesh_negative_visible|mesh_normals| |
| 155 |
|mesh_quality|mesh_radius|mesh_skip|mesh_solvent|mesh_type| |
| 156 |
|mesh_use_shader|mesh_width|min_mesh_spacing|moe_separate_chains| |
| 157 |
|motion_bias|motion_hand|motion_linear|motion_power|motion_simple| |
| 158 |
|mouse_grid|mouse_limit|mouse_restart_movie_delay|mouse_scale| |
| 159 |
|mouse_selection_mode|mouse_wheel_scale|mouse_z_scale| |
| 160 |
|movie_animate_by_frame|movie_auto_interpolate|movie_auto_store| |
| 161 |
|movie_delay|movie_fps|movie_loop|movie_panel| |
| 162 |
|movie_panel_row_height|movie_quality|movie_rock|multiplex| |
| 163 |
|nb_spheres_quality|nb_spheres_size|nb_spheres_use_shader| |
| 164 |
|neighbor_cutoff|no_idle|nonbonded_as_cylinders|nonbonded_size| |
| 165 |
|nonbonded_transparency|nonbonded_use_shader|normal_workaround| |
| 166 |
|normalize_ccp4_maps|normalize_grd_maps|normalize_o_maps| |
| 167 |
|nvidia_bugs|opaque_background|orthoscopic|overlay|overlay_lines| |
| 168 |
|pdb_conect_all|pdb_conect_nodup|pdb_discrete_chains| |
| 169 |
|pdb_echo_tags|pdb_formal_charges|pdb_hetatm_guess_valences| |
| 170 |
|pdb_hetatm_sort|pdb_honor_model_number|pdb_ignore_conect| |
| 171 |
|pdb_insertions_go_first|pdb_insure_orthogonal|pdb_literal_names| |
| 172 |
|pdb_no_end_record|pdb_reformat_names_mode|pdb_retain_ids| |
| 173 |
|pdb_standard_order|pdb_truncate_residue_name|pdb_unbond_cations| |
| 174 |
|pdb_use_ter_records|pick32bit|pick_labels|pick_shading| |
| 175 |
|pick_surface|pickable|png_file_gamma|png_screen_gamma| |
| 176 |
|polar_neighbor_cutoff|power|pqr_no_chain_id|precomputed_lighting| |
| 177 |
|presentation|presentation_auto_quit|presentation_auto_start| |
| 178 |
|presentation_mode|preserve_chempy_ids|pse_binary_dump| |
| 179 |
|pse_export_version|pymol_space_max_blue|pymol_space_max_green| |
| 180 |
|pymol_space_max_red|pymol_space_min_factor|raise_exceptions| |
| 181 |
|ramp_blend_nearby_colors|rank_assisted_sorts|ray_blend_blue| |
| 182 |
|ray_blend_colors|ray_blend_green|ray_blend_red|ray_clip_shadows| |
| 183 |
|ray_color_ramps|ray_default_renderer|ray_direct_shade| |
| 184 |
|ray_hint_camera|ray_hint_shadow|ray_improve_shadows|| |
| 185 |
ray_interior_color|ray_interior_mode|ray_interior_reflect| |
| 186 |
|ray_interior_shadows|ray_interior_texture| |
| 187 |
|ray_label_connector_flat|ray_label_specular|ray_legacy_lighting| |
| 188 |
|ray_max_passes|ray_opaque_background|ray_orthoscopic| |
| 189 |
|ray_oversample_cutoff|ray_pixel_scale|ray_scatter|ray_shadow| |
| 190 |
|ray_shadow_decay_factor|ray_shadow_decay_range|ray_shadow_fudge| |
| 191 |
|ray_spec_local|ray_texture|ray_texture_settings|ray_trace_color| |
| 192 |
|ray_trace_depth_factor|ray_trace_disco_factor|ray_trace_fog| |
| 193 |
|ray_trace_fog_start|ray_trace_frames|ray_trace_gain| |
| 194 |
|ray_trace_mode|ray_trace_persist_cutoff|ray_trace_slope_factor| |
| 195 |
|ray_trace_trans_cutoff|ray_transparency_contrast| |
| 196 |
|ray_transparency_oblique|ray_transparency_oblique_power| |
| 197 |
|ray_transparency_shadows|ray_transparency_spec_cut| |
| 198 |
|ray_transparency_specular|ray_triangle_fudge|ray_volume|reflect| |
| 199 |
|reflect_power|render_as_cylinders|retain_order| |
| 200 |
|ribbon_as_cylinders|ribbon_color|ribbon_nucleic_acid_mode| |
| 201 |
|ribbon_power|ribbon_power_b|ribbon_radius|ribbon_sampling| |
| 202 |
|ribbon_side_chain_helper|ribbon_throw|ribbon_trace_atoms| |
| 203 |
|ribbon_transparency|ribbon_use_shader|ribbon_width|robust_logs| |
| 204 |
|rock_delay|roving_byres|roving_cartoon|roving_delay| |
| 205 |
|roving_detail|roving_isomesh|roving_isosurface|roving_labels| |
| 206 |
|roving_lines|roving_map1_level|roving_map1_name| |
| 207 |
|roving_map2_level|roving_map2_name|roving_map3_level| |
| 208 |
|roving_map3_name|roving_nb_spheres|roving_nonbonded| |
| 209 |
|roving_origin|roving_origin_z|roving_origin_z_cushion| |
| 210 |
|roving_polar_contacts|roving_polar_cutoff|roving_ribbon| |
| 211 |
|roving_selection|roving_spheres|roving_sticks|scene_animation| |
| 212 |
|scene_animation_duration|scene_buttons|scene_current_name| |
| 213 |
|scene_frame_mode|scene_loop|scene_restart_movie_delay| |
| 214 |
|scenes_changed|sculpt_angl_weight|sculpt_auto_center| |
| 215 |
|sculpt_avd_excl|sculpt_avd_gap|sculpt_avd_range|sculpt_avd_weight| |
| 216 |
|sculpt_bond_weight|sculpt_field_mask|sculpt_hb_overlap| |
| 217 |
|sculpt_hb_overlap_base|sculpt_line_weight|sculpt_max_max| |
| 218 |
|sculpt_max_min|sculpt_max_scale|sculpt_max_weight|sculpt_memory| |
| 219 |
|sculpt_min_max|sculpt_min_min|sculpt_min_scale|sculpt_min_weight| |
| 220 |
|sculpt_nb_interval|sculpt_plan_weight|sculpt_pyra_inv_weight| |
| 221 |
|sculpt_pyra_weight|sculpt_tors_tolerance|sculpt_tors_weight| |
| 222 |
|sculpt_tri_max|sculpt_tri_min|sculpt_tri_mode|sculpt_tri_scale| |
| 223 |
|sculpt_tri_weight|sculpt_vdw_scale|sculpt_vdw_scale14| |
| 224 |
|sculpt_vdw_vis_max|sculpt_vdw_vis_mid|sculpt_vdw_vis_min| |
| 225 |
|sculpt_vdw_vis_mode|sculpt_vdw_weight|sculpt_vdw_weight14| |
| 226 |
|sculpting|sculpting_cycles|sdof_drag_scale|secondary_structure| |
| 227 |
|security|sel_counter|selection_overlay|selection_round_points| |
| 228 |
|selection_visible_only|selection_width|selection_width_max| |
| 229 |
|selection_width_scale|seq_view|seq_view_alignment|seq_view_color| |
| 230 |
|seq_view_discrete_by_state|seq_view_fill_char|seq_view_fill_color| |
| 231 |
|seq_view_format|seq_view_label_color|seq_view_label_mode| |
| 232 |
|seq_view_label_spacing|seq_view_label_start|seq_view_location| |
| 233 |
|seq_view_overlay|seq_view_unaligned_color| |
| 234 |
|seq_view_unaligned_mode|session_cache_optimize|session_changed| |
| 235 |
|session_compression|session_embeds_data|session_file| |
| 236 |
|session_migration|session_version_check|shaders_from_disk| |
| 237 |
|shininess|show_alpha_checker|show_frame_rate|show_progress| |
| 238 |
|single_image|slice_dynamic_grid|slice_dynamic_grid_resolution| |
| 239 |
|slice_grid|slice_height_map|slice_height_scale|slice_track_camera| |
| 240 |
|slow_idle|smooth_color_triangle|smooth_half_bonds|solvent_radius| |
| 241 |
|spec_count|spec_direct|spec_direct_power|spec_power|spec_reflect| |
| 242 |
|specular|specular_intensity|sphere_color|sphere_mode| |
| 243 |
|sphere_point_max_size|sphere_point_size|sphere_quality|sphere_scale| |
| 244 |
|sphere_solvent|sphere_transparency|sphere_use_shader|spheroid_fill| |
| 245 |
|spheroid_scale|spheroid_smooth|ss_helix_phi_exclude| |
| 246 |
|ss_helix_phi_include|ss_helix_phi_target|ss_helix_psi_exclude| |
| 247 |
|ss_helix_psi_include|ss_helix_psi_target|ss_strand_phi_exclude| |
| 248 |
|ss_strand_phi_include|ss_strand_phi_target|ss_strand_psi_exclude| |
| 249 |
|ss_strand_psi_include|ss_strand_psi_target|state|state_counter_mode| |
| 250 |
|static_singletons|stereo_angle|stereo_double_pump_mono| |
| 251 |
|stereo_dynamic_strength|stereo_mode|stereo_shift|stick_as_cylinders| |
| 252 |
|stick_ball|stick_ball_color|stick_ball_ratio|stick_color|stick_debug| |
| 253 |
|stick_fixed_radius|stick_good_geometry|stick_h_scale|stick_nub| |
| 254 |
|stick_overlap|stick_quality|stick_radius|stick_round_nub| |
| 255 |
|stick_transparency|stick_use_shader|stick_valence_scale| |
| 256 |
|stop_on_exceptions|suppress_hidden|surface_best|surface_carve_cutoff| |
| 257 |
|surface_carve_normal_cutoff|surface_carve_selection| |
| 258 |
|surface_carve_state|surface_cavity_cutoff|surface_cavity_mode| |
| 259 |
|surface_cavity_radius|surface_circumscribe|surface_clear_cutoff| |
| 260 |
|surface_clear_selection|surface_clear_state|surface_color| |
| 261 |
|surface_color_smoothing|surface_color_smoothing_threshold| |
| 262 |
|surface_debug|surface_miserable|surface_mode| |
| 263 |
|surface_negative_color|surface_negative_visible|surface_normal| |
| 264 |
|surface_optimize_subsets|surface_poor|surface_proximity| |
| 265 |
|surface_quality|surface_ramp_above_mode|surface_residue_cutoff| |
| 266 |
|surface_smooth_edges|surface_solvent|surface_trim_cutoff| |
| 267 |
|surface_trim_factor|surface_type|surface_use_shader| |
| 268 |
|suspend_deferred|suspend_undo|suspend_undo_atom_count| |
| 269 |
|suspend_updates|swap_dsn6_bytes|sweep_angle|sweep_mode|sweep_phase| |
| 270 |
|sweep_speed|test1|test2|text|trace_atoms_mode|transparency| |
| 271 |
|transparency_global_sort|transparency_mode| |
| 272 |
|transparency_picking_mode|triangle_max_passes|trilines|trim_dots| |
| 273 |
|two_sided_lighting|use_geometry_shaders|use_shaders|valence_mode| |
| 274 |
|valence_size|valence_zero_mode|valence_zero_scale| |
| 275 |
|validate_object_names|virtual_trackball|volume_bit_depth| |
| 276 |
|volume_data_range|volume_layers|volume_mode|wildcard| |
| 277 |
|wizard_prompt_mode|wrap_output' |
| 278 |
|
| 279 |
pml_color: 'aquamarine|black|blue|bluewhite| |
| 280 |
|brightorange|brown|carbon|chartreuse|chocolate|cyan|darksalmon| |
| 281 |
|dash|deepblue|deepolive|deeppurple|deepsalmon|deepsalmon|deepteal| |
| 282 |
|density|dirtyviolet|firebrick|forest|gray|green|greencyan|grey| |
| 283 |
|hotpink|hydrogen|lightblue|lightmagenta|lightorange|lightpink| |
| 284 |
|lightteal|lime|limegreen|limon|magenta|marine|nitrogen|olive| |
| 285 |
|orange|oxygen|palecyan|palegreen|paleyellow|pink|purple| |
| 286 |
|purpleblue|raspberry|red|ruby|salmon|sand|skyblue|slate|smudge| |
| 287 |
|splitpea|sulfur|teal|tv_blue|tv_green|tv_orange|tv_red|tv_yellow| |
| 288 |
|violet|violetpurple|warmpink|wheat|white|yellow|yelloworange| |
| 289 |
|br0|br1|br2|br3|br4|br5|br6|br7|br8|br9| |
| 290 |
|gr[ae]y10|gr[ae]y20|gr[ae]y30|gr[ae]y40|gr[ae]y50|gr[ae]y60| |
| 291 |
|gr[ae]y70|gr[ae]y80|gr[ae]y90' |
| 292 |
|
| 293 |
pml_selector: 'resi|resn|name|alt|chain|segi|flag|numeric_type| |
| 294 |
|text_type|id|index|ss|b|q|formal_charge|partial_charge|model| |
| 295 |
|rank|elem|rep|color|pepseq|all|enabled|visible|bonded|protected| |
| 296 |
|masked|organic|inorganic|solvent|polymer|guide|hetatm|hydrogens| |
| 297 |
|metals|backbone|sidechain|donors|acceptors|center|origin' |
| 298 |
|
| 299 |
pml_representation: 'everything|dots|ellipsoids|lines|mesh| |
| 300 |
|spheres|sticks|surface|ribbon|' |
| 301 |
|
| 302 |
contexts: |
| 303 |
# The prototype context is prepended to all contexts |
| 304 |
# Can be turned off via: meta_include_prototype: false. |
| 305 |
prototype: |
| 306 |
- include: comments |
| 307 |
|
| 308 |
main: |
| 309 |
# The main context is the initial starting point of our syntax. |
| 310 |
# Include other contexts from here (or specify them directly). |
| 311 |
- include: structureFile |
| 312 |
- include: commands |
| 313 |
- include: settings |
| 314 |
- include: colour |
| 315 |
- include: representation |
| 316 |
- include: selectors |
| 317 |
- include: numbers |
| 318 |
- include: operators |
| 319 |
- include: strings |
| 320 |
|
| 321 |
structureFile: |
| 322 |
- match: '\b(\S+.{{structure_extensions}})\b' |
| 323 |
scope: entity.name.tag.pml |
| 324 |
|
| 325 |
commands: |
| 326 |
- match: '\b({{pml_cmd}})\b' |
| 327 |
scope: variable.function.pml |
| 328 |
|
| 329 |
settings: |
| 330 |
# make the 'set' command a distinct colour which goes with |
| 331 |
# the 'setting' colors nicely |
| 332 |
- match: '\b({{pml_set}})\b' |
| 333 |
scope: keyword.pml |
| 334 |
|
| 335 |
colour: |
| 336 |
- match: '\b({{pml_color}})\b' |
| 337 |
scope: storage.modifier |
| 338 |
|
| 339 |
representation: |
| 340 |
- match: '\b({{pml_representation}})\b' |
| 341 |
scope: storage.escape |
| 342 |
|
| 343 |
numbers: |
| 344 |
- match: '(\b|\-)[0-9][\.\e]*[0-9]*\b' |
| 345 |
scope: constant.numeric.pml |
| 346 |
|
| 347 |
selectors: |
| 348 |
- match: '\b({{pml_selector}})\b' |
| 349 |
scope: storage.type.pml |
| 350 |
|
| 351 |
operators: |
| 352 |
- match: '\\\n' # Escape Newline |
| 353 |
scope: constant.character.escape.pml |
| 354 |
- match: "[()\\[\\]]" # Brackets |
| 355 |
scope: keyword.punctuation.pml |
| 356 |
- match: "[!|&,?]" # Punctuation Char |
| 357 |
scope: keyword.punctuation.pml |
| 358 |
# Punctuation Words |
| 359 |
- match: '\b(and|or|not|in|gap|around|within|of|byres|bymolecule| |
| 360 |
|byfragment|bysegment|byobject|bycell|neighbor|extend|first| |
| 361 |
|last|like|bychain|bycalpha|bound_to|expand|near_to|beyond)\b' |
| 362 |
scope: keyword.operator.pml |
| 363 |
- match: '[\+\-=\*]' # Operators |
| 364 |
scope: keyword.operator.pml |
| 365 |
|
| 366 |
strings: |
| 367 |
- match: '"' |
| 368 |
scope: punctuation.definition.string.begin.pml |
| 369 |
push: |
| 370 |
- meta_scope: string.quoted.double.pml |
| 371 |
- match: \\. |
| 372 |
scope: constant.character.escape.pml |
| 373 |
- match: '"' |
| 374 |
scope: punctuation.definition.string.end.pml |
| 375 |
pop: true |
| 376 |
- match: "'" |
| 377 |
scope: punctuation.definition.string.begin.pml |
| 378 |
push: |
| 379 |
- meta_scope: string.quoted.single.pml |
| 380 |
- match: \\. |
| 381 |
scope: constant.character.escape.pml |
| 382 |
- match: "'" |
| 383 |
scope: punctuation.definition.string.end.pml |
| 384 |
pop: true |
| 385 |
|
| 386 |
comments: |
| 387 |
- match: "#" |
| 388 |
scope: punctuation.definition.comment.pml |
| 389 |
push: |
| 390 |
- meta_scope: comment.line.number-sign.pml |
| 391 |
- match: \n |
| 392 |
pop: true |
| 393 |
|