Permalink
Browse files

adding how to list language ids

  • Loading branch information...
1 parent e04c602 commit 415b076fa05a90afc0a4e4b16eb03bc2732bbf78 @nagaozen committed Feb 13, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
@@ -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
-------

0 comments on commit 415b076

Please sign in to comment.