MCPcopy
hub / github.com/ycm-core/YouCompleteMe / OpenFileInPreviewWindow

Function OpenFileInPreviewWindow

python/ycm/vimsupport.py:1228–1232  ·  view source on GitHub ↗

Open the supplied filename in the preview window

( filename, modifiers )

Source from the content-addressed store, hash-verified

1226
1227
1228def OpenFileInPreviewWindow( filename, modifiers ):
1229 """ Open the supplied filename in the preview window """
1230 if modifiers:
1231 modifiers = ' ' + modifiers
1232 vim.command( f'silent!{ modifiers } pedit! { filename }' )
1233
1234
1235def WriteToPreviewWindow( message, modifiers ):

Callers 1

WriteToPreviewWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected