Skip to content

hfkang/vim-nios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-nios

NIOSII Syntax file.

Forked from https://github.com/Harenome/vim-mipssyntax

Screenshot

Installation

Regular installation

Just put the file nios.vim in your ~/.vim/syntax folder.

Vundle

add Plugin 'hfkang/vim-nios' to your .vimrc file and install

Highlights

If you want to be able to tell the difference between actual instructions, aliases, macros and pseudo instructions, change the lines 466 to 476 to something like this, for instance:

hi def link niosComment             Comment
hi def link niosNumber              Number
hi def link niosString              String
hi def link niosLabel               Label
hi def link niosRegister            Identifier
hi def link niosDirective           Type
hi def link niosInstruction         Statement
hi def link niosAlias               PreProc
hi def link niosMacro               PreProc
hi def link niosPseudoInstruction   Special
hi def link niosPseudoDirective     Special

Of course, this requires your colorscheme to set different colours for these highlights.

About

NiosII Syntax file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%