commit 4cb65db0eb3f9bfa2bd0796f918cf99d480b4b5d Author: Luminiferous Date: Wed Mar 26 21:19:30 2025 +0100 Initial Commit diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..3ca45d9 --- /dev/null +++ b/config.toml @@ -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' diff --git a/languages.toml b/languages.toml new file mode 100644 index 0000000..342d096 --- /dev/null +++ b/languages.toml @@ -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']