{"action":"created","issue":{"url":"https://api.github.com/repos/dail8859/LuaScript/issues/65","repository_url":"https://api.github.com/repos/dail8859/LuaScript","labels_url":"https://api.github.com/repos/dail8859/LuaScript/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/dail8859/LuaScript/issues/65/comments","events_url":"https://api.github.com/repos/dail8859/LuaScript/issues/65/events","html_url":"https://github.com/dail8859/LuaScript/issues/65","id":362844229,"node_id":"MDU6SXNzdWUzNjI4NDQyMjk=","number":65,"title":"Used defined languages","user":{"login":"eladeyal-intel","id":20379005,"node_id":"MDQ6VXNlcjIwMzc5MDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20379005?v=4","gravatar_id":"","url":"https://api.github.com/users/eladeyal-intel","html_url":"https://github.com/eladeyal-intel","followers_url":"https://api.github.com/users/eladeyal-intel/followers","following_url":"https://api.github.com/users/eladeyal-intel/following{/other_user}","gists_url":"https://api.github.com/users/eladeyal-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/eladeyal-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eladeyal-intel/subscriptions","organizations_url":"https://api.github.com/users/eladeyal-intel/orgs","repos_url":"https://api.github.com/users/eladeyal-intel/repos","events_url":"https://api.github.com/users/eladeyal-intel/events{/privacy}","received_events_url":"https://api.github.com/users/eladeyal-intel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-22T10:13:27Z","updated_at":"2018-09-22T15:01:52Z","closed_at":null,"author_association":"NONE","body":"How can I apply user defined languages via luascript?\r\nHow can I see the list of configured user defined languages?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/dail8859/LuaScript/issues/comments/423750095","html_url":"https://github.com/dail8859/LuaScript/issues/65#issuecomment-423750095","issue_url":"https://api.github.com/repos/dail8859/LuaScript/issues/65","id":423750095,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzc1MDA5NQ==","user":{"login":"dail8859","id":3694843,"node_id":"MDQ6VXNlcjM2OTQ4NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/3694843?v=4","gravatar_id":"","url":"https://api.github.com/users/dail8859","html_url":"https://github.com/dail8859","followers_url":"https://api.github.com/users/dail8859/followers","following_url":"https://api.github.com/users/dail8859/following{/other_user}","gists_url":"https://api.github.com/users/dail8859/gists{/gist_id}","starred_url":"https://api.github.com/users/dail8859/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dail8859/subscriptions","organizations_url":"https://api.github.com/users/dail8859/orgs","repos_url":"https://api.github.com/users/dail8859/repos","events_url":"https://api.github.com/users/dail8859/events{/privacy}","received_events_url":"https://api.github.com/users/dail8859/received_events","type":"User","site_admin":false},"created_at":"2018-09-22T15:01:52Z","updated_at":"2018-09-22T15:01:52Z","author_association":"OWNER","body":"> How can I apply user defined languages via luascript?\r\n\r\nDon't have too much time right now to dig into it but you might try something like this:\r\n\r\n```lua\r\nnpp.BufferLangType[npp.CurrentBufferID] = L_USER\r\n```\r\nI think this should use the file's extension to figure out what user define language to use.\r\n\r\n> How can I see the list of configured user defined languages?\r\n\r\nAs far as I know this is not possible. This is not a limitation of LuaScript, this is a limitation of Notepad++ not providing this functionality to plugins."}}
{"actor":{"display_login":"dail8859"}}