mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
code_style: run dotnet format
This commit is contained in:
parent
7fe1df20cc
commit
84b8735d6c
11 changed files with 23 additions and 26 deletions
|
@ -41,7 +41,7 @@ namespace SourceGit.Models
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public IRawTheme GetTheme(string scopeName)
|
||||
{
|
||||
return _backend.GetTheme(scopeName);
|
||||
|
@ -74,7 +74,7 @@ namespace SourceGit.Models
|
|||
var grammar = _extraGrammars.Find(x => x.GetScopeName().EndsWith(extension, StringComparison.OrdinalIgnoreCase));
|
||||
if (grammar != null)
|
||||
return grammar.GetScopeName();
|
||||
|
||||
|
||||
if (extension == ".h")
|
||||
extension = ".cpp";
|
||||
else if (extension == ".resx" || extension == ".plist" || extension == ".manifest")
|
||||
|
@ -88,7 +88,7 @@ namespace SourceGit.Models
|
|||
private readonly RegistryOptions _backend;
|
||||
private readonly List<IRawGrammar> _extraGrammars;
|
||||
}
|
||||
|
||||
|
||||
public static class TextMateHelper
|
||||
{
|
||||
public static TextMate.Installation CreateForEditor(TextEditor editor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue