/*++

NASM Assembly Language Plugin
Copyright (c) 2017-2018 Aidan Khoury. All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

--*/

package com.nasmlanguage;

import com.intellij.openapi.fileTypes.*;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.NotNull;

public class NASMSyntaxHighlighterFactory extends SyntaxHighlighterFactory {
    @NotNull
    @Override
    public SyntaxHighlighter getSyntaxHighlighter(Project project, VirtualFile virtualFile) {
        return new NASMSyntaxHighlighter();
    }
}

@@ -72,348 +72,617 @@
 oury
-. All rights reserved.%0D%0A%0D%0AThis program is free software: you can
+%0D%0A%0D%0APermission is hereby granted, free of charge, to any person obtaining a copy%0D%0Aof this software and associated documentation files (the %22Software%22), to deal%0D%0Ain the Software without
  re
-di
 stri
-bute it and/or modify%0D%0Ait under the terms of the GNU General Public License as published by%0D%0Athe Free Software Foundation, either v
+ction, including without limitation the rights%0D%0Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0D%0Acopies of the Software, and to permit p
 ers
-i
 on
- 3 of the License, or%0D%0A(at your option) any later version.
+s to whom the Software is%0D%0Afurnished to do so, subject to the following conditions:
 %0D%0A%0D%0ATh
-is program is distributed in the hope that it will be useful,%0D%0Abut
+e above copyright notice and this permission notice shall be included in all%0D%0Acopies or substantial portions of the Software.%0D%0A%0D%0ATHE SOFTWARE IS PROVIDED %22AS IS%22,
  WIT
@@ -690,60 +690,98 @@
 OUT 
+WARR
 AN
+T
 Y 
-WARRANTY; without even the implied warranty of%0D%0A
+OF ANY KIND, EXPRESS OR%0D%0AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 MERC
@@ -791,20 +791,19 @@
 TABILITY
- or 
+,%0D%0A
 FITNESS 
@@ -830,203 +830,291 @@
 POSE
-.  See the%0D%0AGNU General Public License for more details.%0D%0A%0D%0AYou should have received a copy of the GNU General Public License%0D%0Aalong with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E
+ AND NONINFRINGEMENT. IN NO EVENT SHALL THE%0D%0AAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER%0D%0ALIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,%0D%0AOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE%0D%0ASOFTWARE
 .%0D%0A%0D

Update copyright notice with MIT license