1
0

Initial Commit

This commit is contained in:
2025-03-26 21:19:30 +01:00
commit 4cb65db0eb
2 changed files with 47 additions and 0 deletions

35
config.toml Normal file
View File

@@ -0,0 +1,35 @@
[editor]
line-number = 'relative'
cursorline = true
auto-format = false
bufferline = 'multiple'
true-color = true
color-modes = true
end-of-line-diagnostics = 'hint'
[editor.statusline]
left = ['spinner', 'mode', 'version-control', 'separator', 'file-name', 'read-only-indicator', 'file-modification-indicator']
center = []
right = ['diagnostics', 'selections', 'register', 'file-line-ending', 'file-encoding', 'file-type', 'position', 'position-percentage']
separator = '│'
mode.normal = 'NORMAL'
mode.insert = 'INSERT'
mode.select = 'SELECT'
[editor.cursor-shape]
normal = 'block'
insert = 'bar'
select = 'underline'
[editor.whitespace.render]
space = 'all'
tab = 'all'
nbsp = 'all'
nnbsp = 'all'
[editor.inline-diagnostics]
cursor-line = 'hint'
[keys.normal]
'F7' = 'goto_previous_buffer'
'F8' = 'goto_next_buffer'

12
languages.toml Normal file
View File

@@ -0,0 +1,12 @@
[[language]]
name = 'powershell'
scope = 'source.ps1'
file-types = ['ps1', 'psm1']
roots = ['.git']
comment-token = '#'
indent = { tab-width = 4, unit = 't' }
language-servers = [ 'powershell-editor-services' ]
[language-server.powershell-editor-services]
command = 'pwsh'
args = ['-NoLogo', '-NoProfile', '-Command', 'C:\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -BundledModulesPath C:\\PowerShellEditorServices -SessionDetailsPath C:\\PowerShellEditorServices\\PowerShellEditorServices.sessions.json -LogPath C:\\PowerShellEditorServices\\PowerShellEditorServices.log -FeatureFlags @() -AdditionalModules @() -HostName helix -HostProfileId 0 -HostVersion 1.0.0 -Stdio -LogLevel Normal']