Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding how to list language ids

  • Loading branch information...
commit 415b076fa05a90afc0a4e4b16eb03bc2732bbf78 1 parent e04c602
@nagaozen authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
9 README.md
@@ -23,6 +23,15 @@ Installation
**NOTE:** Windows users should follow the instructions of <http://zend.lojcomm.com.br/entries/setting-autocomplete-to-work-in-windows-gedit/>
+Adding new library files
+------------------------
+
+To add new language libraries to gedit-json-completion, just drop a `<language_id>.json` in the lib folder. To retrieve a python list of the available languages, use:
+
+ import gtksourceview2 as _
+ lm = _.LanguageManager()
+ ids = lm.get_language_ids()
+
License
-------
Please sign in to comment.
Something went wrong with that request. Please try again.