diff --git a/coc-settings.json b/coc-settings.json index b027523..55e88f3 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -1,3 +1,4 @@ { - "git.addGBlameToVirtualText": true + "git.addGBlameToVirtualText": true, + "git.enableGutters": true } diff --git a/installation/enable_nvim b/installation/enable_nvim index c7f7b7f..91e10e4 100755 --- a/installation/enable_nvim +++ b/installation/enable_nvim @@ -34,4 +34,14 @@ else end end +coc_settings_original_path = File.join(Dir.home, '.vim/coc-settings.json') +coc_settings_destination_path = File.join(nvim_dir_path, 'coc-settings.json') + +if File.exist?(coc_settings_destination_path) + puts "Skip creating coc config file path #{coc_settings_destination_path}" +else + puts "Creating coc config file path #{coc_settings_destination_path}" + File.symlink(coc_settings_original_path, coc_settings_destination_path) +end + puts 'NVim configuration finished.'