Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable_smooth_scrolling = false is ignored #4948

Open
OnkV opened this issue Dec 26, 2024 · 6 comments
Open

enable_smooth_scrolling = false is ignored #4948

OnkV opened this issue Dec 26, 2024 · 6 comments
Labels
bug bug of SpaceVim core can-not-reproduce Can not reproduce this issue

Comments

@OnkV
Copy link

OnkV commented Dec 26, 2024

Expected behavior.

Smooth scrolling should be disabled.

The reproduce ways from Vim starting.

  1. Add enable_smooth_scrolling = false to the [[layers]] section in init.toml.
  2. Restart Vim.
  3. Open a file an press Ctrl-f. Smooth scrolling is still enabled.

Output of the :SPDebugInfo!

SpaceVim debug information

SpaceVim options :

  auto_disable_touchpad = 1
  autocomplete_method = 'asyncomplete'
  autocomplete_parens = 1
  bootstrap_after = 'myspacevim#after'
  bootstrap_before = 'myspacevim#before'
  buffer_index_type = 4
  checkinstall = 1
  code_runner_focus = 0
  colorscheme = 'simpleblack'
  colorscheme_bg = 'dark'
  colorscheme_default = 'desert'
  commandline_prompt = '>'
  conceallevel = 0
  custom_color_palette = []
  custom_plugins = [['jpalardy/vim-slime', {'repo': 'jpalardy/vim-slime', 'overwrite': 1}], ['vimoutliner/vimoutliner', {'repo': 'vimoutliner/vimoutliner', 'overwrite': 1}], ['jamessan/vim-gnupg', {'repo': 'jamessan/vim-gnupg', 'overwrite': 1}], ['vifm/vifm.vim', {'repo': 'vifm/vifm.vim', 'overwrite': 1}], ['nvie/vim-flake8', {'repo': 'nvie/vim-flake8', 'overwrite': 1}], ['itspriddle/vim-shellcheck', {'repo': 'itspriddle/vim-shellcheck', 'overwrite': 1}], ['vim-scripts/tracwiki', {'repo': 'vim-scripts/tracwiki', 'overwrite': 1}], ['sheerun/vim-polyglot', {'repo': 'sheerun/vim-polyglot', 'overwrite': 1}], ['ocaml/vim-ocaml', {'repo': 'ocaml/vim-ocaml', 'overwrite': 1}], ['zaid/vim-rec', {'repo': 'zaid/vim-rec', 'overwrite': 1}], ['lucasprag/simpleblack', {'repo': 'lucasprag/simpleblack', 'overwrite': 1}]]
  data_dir = '/home/andi/.cache/'
  debug_level = 1
  default_custom_leader = '<Space>'
  default_indent = 2
  disabled_plugins = []
  enable_bepo_layout = 0
  enable_cursorcolumn = 0
  enable_cursorline = 1
  enable_debug = 0
  enable_googlesuggest = 0
  enable_guicolors = 0
  enable_javacomplete2_py = 0
  enable_key_frequency = 0
  enable_language_specific_leader = 0
  enable_list_mode = 0
  enable_neocomplcache = 0
  enable_os_fileformat_icon = 0
  enable_powerline_fonts = 1
  enable_projects_cache = 1
  enable_statusline_bfpath = 0
  enable_statusline_mode = 1
  enable_statusline_tag = 1
  enable_tabline_filetype_icon = 1
  enable_tabline_ft_icon = 0
  enable_vimfiler_welcome = 1
  enable_ycm = 0
  error_symbol = ''
  escape_key_binding = 'jk'
  expand_tab = 1
  file_searching_tools = []
  filemanager = ''
  filetree_direction = 'right'
  filetype_icons = {}
  force_global_config = 0
  gitcommit_issue_icon = ''
  gitcommit_pr_icon = ''
  github_username = ''
  guifont = 'Courier Code 13'
  hiddenfileinfo = 1
  home_files_number = 6
  hosts_url = 'https://raw.githubusercontent.com/racaljk/hosts/master/hosts'
  if_ruby = 1
  info_symbol = ''
  keep_server_alive = 1
  language = ''
  lazy_conf_timeout = 200
  leader_guide_default_group_name = ''
  leader_guide_flatten = 1
  leader_guide_hspace = 5
  leader_guide_max_size = 0
  leader_guide_position = 'botright'
  leader_guide_run_map_on_popup = 1
  leader_guide_sort_horizontal = 0
  leader_guide_submode_mappings = {'<C-C>': 'win_close'}
  leader_guide_theme = 'leaderguide'
  leader_guide_vertical = 0
  lint_engine = 'neomake'
  lint_on_save = 1
  lint_on_the_fly = 0
  max_column = 120
  plugin_bundle_dir = '/home/andi/.cache/vimfiles/'
  plugin_manager = 'dein'
  plugin_manager_processes = 16
  plugin_name = 'emmet-vim'
  project_auto_root = 1
  project_non_root = ''
  project_rooter_outermost = 0
  project_rooter_patterns = ['.svn/', '.git/', '.hg/', '_darcs/', '.bzr/', 'package.json']
  projects_cache_num = 20
  realtime_leader_guide = 1
  relativenumber = 0
  search_tools = ['rg', 'ag', 'pt', 'ack', 'grep', 'findstr', 'git']
  sidebar_direction = ''
  sidebar_width = 30
  smartcloseignoreft = ['tagbar', 'neo-tree', 'vimfiler', 'defx', 'NvimTree', 'SpaceVimRunner', 'SpaceVimREPL', 'SpaceVimQuickFix', 'HelpDescribe', 'VebuggerShell', 'VebuggerTerminal', 'SpaceVimTabsManager', 'SpaceVimGitRemoteManager']
  smartcloseignorewin = ['__Tagbar__', 'vimfiler:default']
  snippet_engine = 'neosnippet'
  src_root = 'E:\sources\'
  statusline_inactive_separator = 'bar'
  statusline_iseparator = 'bar'
  statusline_left = ['winnr', 'filename', 'major mode', 'search count', 'syntax checking', 'minor mode lighters', 'vcs', 'hunks']
  statusline_left_sections = ['winnr', 'major mode', 'filename', 'fileformat', 'minor mode lighters']
  statusline_right = ['cursorpos', 'percentage']
  statusline_separator = 'nil'
  statusline_unicode = 1
  terminal_cursor_shape = 2
  todo_close_list = 0
  todo_labels = ['fixme', 'question', 'todo', 'idea']
  todo_prefix = '@'
  update_retry_cnt = 3
  version = '2.5.0-dev'
  vim_help_language = 'en'
  vimcompatible = 0
  warning_symbol = ''
  wildignore = '*/tmp/*,*.so,*.swp,*.zip,*.class,tags,*.jpg,*.ttf,*.TTF,*.png,*/target/*,.git,.svn,.hg,.DS_Store,*.svg'
  windisk_encoding = 'cp936'
  windows_index_type = 3
  windows_leader = ''
  windows_smartclose = ''
  wrap_line = 0

SpaceVim layers :

[[layers]]
  name="checkers"
  show_cursor_error=0
  lint_on_save=1
  lint_on_the_fly=0
[[layers]]
  name="format"
[[layers]]
  name="ui"
[[layers]]
  name="core"
  filetree_show_hidden=0
  enable_smooth_scrolling=0
[[layers]]
  name="core#banner"
[[layers]]
  name="core#statusline"
[[layers]]
  name="core#tabline"
[[layers]]
  name="shell"
  default_shell='terminal'
  default_position='top'
  default_height=30
[[layers]]
  name="lang#python"
  python_interpreter='/usr/bin/python3'
  python_file_head=['#!/usr/bin/env python3', '# -*- coding: utf-8 -*-', '', '']
  enabled_linters=['python', 'pylint']
[[layers]]
  name="VersionControl"
[[layers]]
  name="lang#sql"
[[layers]]
  name="ctrlp"
[[layers]]
  name="git"
[[layers]]
  name="sh"
[[layers]]
  name="framework#django"
[[layers]]
  name="lang#graphql"
[[layers]]
  name="lang#haskell"
[[layers]]
  name="lang#json"
[[layers]]
  name="lang#latex"
[[layers]]
  name="lang#javascript"
[[layers]]
  name="lang#html"

SpaceVim Health checking :

SpaceVim clipboard support check report:
Checking +clipboard:
SUCCEED!
SpaceVim environment check report:
Current progpath: vim(/usr/bin/vim.gtk3)
version: 900
OS: linux
[shell, shellcmdflag, shellslash]: ['/bin/zsh', '-c', 0]
SpaceVim lua support check report:
Checking +lua:
SUCCEED!
SpaceVim python support check report:
Checking +python3:
SUCCEED!
Checking +python:
Failed : to support +python, Please install vim-gtk, or build from sources.
Checking SpaceVim layer health:

  • checkers:ok
  • format:ok
  • ui:ok
  • core:ok
  • core#banner:ok
  • core#statusline:ok
  • core#tabline:ok
  • shell:ok
  • lang#python:ok
  • VersionControl:ok
  • lang#sql:ok
  • ctrlp:ok
  • git:ok
  • sh: can not find function: SpaceVim#layers#sh#health()
  • framework#django:ok
  • lang#graphql:ok
  • lang#haskell:ok
  • lang#json:ok
  • lang#latex:ok
  • lang#javascript:ok
  • lang#html:ok

SpaceVim runtime log :

[ SpaceVim ] : logger file  does not exists, only log for current process will be shown!
[ SpaceVim ] [02:34:25] [   0.000] [  Info ] Loading SpaceVim from: /home/andi/.SpaceVim/
[ SpaceVim ] [02:34:25] [   0.000] [  Info ] default rtp is:
[ SpaceVim ] [02:34:25] [   0.000] [  Info ]   > /home/andi/.SpaceVim/
[ SpaceVim ] [02:34:25] [   0.000] [  Info ]   > /usr/share/vim/vim90
[ SpaceVim ] [02:34:25] [   0.014] [  Info ] v:argv is:['/usr/bin/vim', '-S', '/home/andi/Synced/var/lib/entw_werktag.vim']
[ SpaceVim ] [02:34:25] [   0.014] [  Info ] startup status:[2, ['/usr/bin/vim', '-S', '/home/andi/Synced/var/lib/entw_werktag.vim']]
[ SpaceVim ] [02:34:25] [   0.014] [  Info ] Startup with argv: 2
[ SpaceVim ] [02:34:25] [   0.014] [  Info ] init default layer list.
[ SpaceVim ] [02:34:25] [   0.014] [  Info ] load layer:autocomplete
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] load layer:checkers
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] load layer:format
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.015] [  Info ] load layer:edit
[ SpaceVim ] [02:34:25] [   0.016] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.016] [  Info ] load layer:ui
[ SpaceVim ] [02:34:25] [   0.016] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.016] [  Info ] load layer:core
[ SpaceVim ] [02:34:25] [   0.017] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.017] [  Info ] load layer:core#banner
[ SpaceVim ] [02:34:25] [   0.017] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.017] [  Info ] load layer:core#statusline
[ SpaceVim ] [02:34:25] [   0.019] [  Info ] core#statusline layer do not implement loadable function
[ SpaceVim ] [02:34:25] [   0.019] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.019] [  Info ] load layer:core#tabline
[ SpaceVim ] [02:34:25] [   0.019] [  Info ] layer loaded.
[ SpaceVim ] [02:34:25] [   0.019] [  Info ] layer list init done
[ SpaceVim ] [02:34:25] [   0.020] [  Info ] start loading global config >>>
[ SpaceVim ] [02:34:25] [   0.020] [  Info ] global_dir is: /home/andi/.SpaceVim.d/
[ SpaceVim ] [02:34:25] [   0.020] [  Info ] find global config: /home/andi/.SpaceVim.d/init.toml
[ SpaceVim ] [02:34:25] [   0.020] [  Info ] start to apply config [glob]
[   rooter ] [02:34:25] [   0.020] [  Info ] Load projects cache from: /home/andi/.cache/SpaceVim/projects.json
[   rooter ] [02:34:25] [   0.020] [  Info ] Start to find root for: /home/andi/devel/AcatApps/werktag/
[   rooter ] [02:34:25] [   0.021] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:34:25] [   0.021] [  Info ] buffer name: No Name
[   rooter ] [02:34:25] [   0.021] [  Info ] change to root: /home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   0.224] [  Info ] project_rooter_patterns option has been change, clear b:rootDir
[   rooter ] [02:34:26] [   0.224] [  Info ] Start to find root for: /home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   0.225] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   0.227] [  Info ] buffer name: No Name
[   rooter ] [02:34:26] [   0.227] [  Info ] same as current directory, no need to change.
[ SpaceVim ] [02:34:26] [   0.257] [  Info ] load layer:core
[ SpaceVim ] [02:34:26] [   0.258] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.258] [  Info ] load layer:shell
[ SpaceVim ] [02:34:26] [   0.260] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.260] [  Info ] load layer:lang#python
[ SpaceVim ] [02:34:26] [   0.261] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.262] [  Info ] load layer:VersionControl
[ SpaceVim ] [02:34:26] [   0.263] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.263] [  Info ] load layer:lang#sql
[ SpaceVim ] [02:34:26] [   0.264] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.264] [  Info ] load layer:ctrlp
[ SpaceVim ] [02:34:26] [   0.265] [  Info ] ctrlp layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.265] [  Info ] ctrlp layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.265] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.266] [  Info ] load layer:git
[ SpaceVim ] [02:34:26] [   0.266] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.266] [  Info ] load layer:sh
[ SpaceVim ] [02:34:26] [   0.267] [  Info ] sh layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.267] [  Info ] sh layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.268] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.268] [  Info ] load layer:checkers
[ SpaceVim ] [02:34:26] [   0.268] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.268] [  Info ] load layer:ui
[ SpaceVim ] [02:34:26] [   0.269] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.269] [  Info ] load layer:framework#django
[ SpaceVim ] [02:34:26] [   0.269] [  Info ] framework#django layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.269] [  Info ] framework#django layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.269] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] load layer:lang#graphql
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] lang#graphql layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] lang#graphql layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] load layer:core#statusline
[ SpaceVim ] [02:34:26] [   0.270] [  Info ] core#statusline layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] load layer:lang#haskell
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] lang#haskell layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] lang#haskell layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.271] [  Info ] load layer:lang#json
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] lang#json layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] load layer:lang#latex
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] lang#latex layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] lang#latex layer do not implement set_variable function
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.272] [  Info ] load layer:lang#javascript
[ SpaceVim ] [02:34:26] [   0.273] [  Info ] lang#javascript layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.273] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.273] [  Info ] load layer:lang#html
[ SpaceVim ] [02:34:26] [   0.273] [  Info ] lang#html layer do not implement loadable function
[ SpaceVim ] [02:34:26] [   0.273] [  Info ] layer loaded.
[ SpaceVim ] [02:34:26] [   0.274] [  Info ] run bootstrap_before function:myspacevim#before
[ SpaceVim ] [02:34:26] [   0.313] [  Info ] bootstrap_before function was called successfully.
[ SpaceVim ] [02:34:26] [   0.313] [  Info ] start loading local config >>>
[ SpaceVim ] [02:34:26] [   0.313] [  Info ] Could not find project local config
[ SpaceVim ] [02:34:26] [   0.330] [  Info ] core#statusline layer do not implement plugins function
[ SpaceVim ] [02:34:26] [   0.338] [  Info ] sh layer do not implement plugins function
[ SpaceVim ] [02:34:26] [   0.378] [  Info ] finished loading SpaceVim!
[ SpaceVim ] [02:34:26] [   0.386] [  Info ] lsp client: vim-lsp
[   rooter ] [02:34:26] [   0.387] [  Info ] buffer name: No Name
[   rooter ] [02:34:26] [   0.387] [  Info ] same as current directory, no need to change.
[   rooter ] [02:34:26] [   0.817] [  Info ] Start to find root for: /home/andi/devel/AcatApps/werktag/bin/main.ml
[   rooter ] [02:34:26] [   0.817] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   0.817] [  Info ] buffer name: bin/main.ml
[   rooter ] [02:34:26] [   0.817] [  Info ] change to root: /home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   1.114] [  Info ] Start to find root for: /home/andi/devel/AcatApps/werktag/bin/dune
[   rooter ] [02:34:26] [   1.114] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:34:26] [   1.115] [  Info ] buffer name: werktag/bin/dune
[   rooter ] [02:34:26] [   1.115] [  Info ] same as current directory, no need to change.
[   rooter ] [02:34:27] [   1.205] [  Info ] buffer name: werktag/bin/main.ml
[   rooter ] [02:34:27] [   1.205] [  Info ] same as current directory, no need to change.
[   rooter ] [02:34:27] [   1.300] [  Info ] buffer name: werktag/bin/main.ml
[   rooter ] [02:34:27] [   1.301] [  Info ] same as current directory, no need to change.
[ SpaceVim ] [02:34:27] [   1.346] [  Info ] run root changed callback on VimEnter!
[ SpaceVim ] [02:34:27] [   1.366] [  Info ] run bootstrap_after function:myspacevim#after
[ SpaceVim ] [02:34:27] [   1.369] [  Info ] bootstrap_after function was called successfully.
[ SpaceVim ] [02:34:27] [   1.414] [  Info ] sh layer do not implement config function
[ SpaceVim ] [02:34:27] [   1.414] [  Info ] framework#django layer do not implement config function
[ SpaceVim ] [02:34:27] [   1.414] [  Info ] lang#graphql layer do not implement config function
[ SpaceVim ] [02:34:27] [   1.416] [  Info ] SpaceVim server startup at:/tmp/spacevim_vim_server
[ SpaceVim ] [02:34:27] [   1.432] [  Info ] init default key bindings.
[ SpaceVim ] [02:34:27] [   1.433] [  Info ] default key binding init done
[   rooter ] [02:36:32] [ 126.507] [  Info ] project_rooter_patterns option has been change, clear b:rootDir
[   rooter ] [02:36:32] [ 126.508] [  Info ] Start to find root for: /home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.509] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.512] [  Info ] buffer name: No Name
[   rooter ] [02:36:32] [ 126.512] [  Info ] same as current directory, no need to change.
[   rooter ] [02:36:32] [ 126.574] [  Info ] Start to find root for: /home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.574] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.575] [  Info ] buffer name: No Name
[   rooter ] [02:36:32] [ 126.575] [  Info ] same as current directory, no need to change.
[   rooter ] [02:36:32] [ 126.696] [  Info ] Start to find root for: /home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.697] [  Info ]         (.svn/):/home/andi/devel/AcatApps/
[   rooter ] [02:36:32] [ 126.701] [  Info ] buffer name: No Name
[   rooter ] [02:36:32] [ 126.701] [  Info ] same as current directory, no need to change.
[   rooter ] [02:36:32] [ 126.934] [  Info ] Start to find root for: /home/andi/.SpaceVim.d/init.toml
[ SpaceVim ] [02:41:00] [ 395.054] [  Info ] statusline build-in section vcs has been changed!
[ SpaceVim ] [02:41:00] [ 395.054] [  Info ] statusline build-in section hunks has been changed!
@OnkV OnkV added the bug bug of SpaceVim core label Dec 26, 2024
@wenijinew
Copy link

When I set it as below, it works.

[[layers]]
name = 'core'
enable_smooth_scrolling = false

@OnkV
Copy link
Author

OnkV commented Dec 27, 2024

That's my setting of the core layer:

[[layers]]
name = "core"
filetree_show_hidden = false
enable_smooth_scrolling = false

Not even :set nosmoothscroll helps.

In SpaceVim 2.3.0 enable_smooth_scrolling = false works as expected.

@wsdjeg
Copy link
Member

wsdjeg commented Dec 27, 2024

I can not reproduce this issue, this option works well for me. And I am using neovim in windows 11.

@wsdjeg wsdjeg added the can-not-reproduce Can not reproduce this issue label Dec 27, 2024
@arwarw
Copy link

arwarw commented Dec 28, 2024

I also observe this problem. See SPDebugInfo attached.
debuginfo.txt

However, there is a strange catch to it: If I start vim and then open a file through the file tree or :open, smooth scrolling is off as per the config option. If I open a file directly on the command line by using vim somefile.go, then smooth scrolling is on and the config option seems to be ignored.

@OnkV
Copy link
Author

OnkV commented Dec 28, 2024

However, there is a strange catch to it: If I start vim and then open a file through the file tree or :open, smooth scrolling is off as per the config option. If I open a file directly on the command line by using vim somefile.go, then smooth scrolling is on and the config option seems to be ignored.

I can confirm this description. The bug only shows when passing the filename as an argument to vim.

@arwarw
Copy link

arwarw commented Dec 28, 2024

I have also reproduced this with a fresh installation, deleted ~/.cache/SpaceVim and a minimal init.toml:

[[layers]]
name = 'core'
enable_smooth_scrolling = false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug of SpaceVim core can-not-reproduce Can not reproduce this issue
Development

No branches or pull requests

4 participants