ソースを参照

update options for python

Chris 4 年 前
コミット
eb10778110
3 ファイル変更7 行追加3 行削除
  1. 4 1
      lua/config.lua
  2. 2 1
      lua/nv-compe/init.lua
  3. 1 1
      lua/nv-globals.lua

+ 4 - 1
lua/config.lua

@@ -14,5 +14,8 @@ O.colorscheme = 'nvcode'
 O.python.formatter = 'yapf'
 O.python.linter = nil
 O.python.autoformat = false
-O.python.virtual_text = false
+O.python.diagnostics.virtual_text = false
+O.python.diagnostics.signs = false
+O.python.diagnostics.underline = false
+
 

+ 2 - 1
lua/nv-compe/init.lua

@@ -20,7 +20,8 @@ require'compe'.setup {
         calc = {kind = "  "},
         vsnip = {kind = "  "},
         nvim_lsp = {kind = "  "},
-        nvim_lua = {kind = "  "},
+        -- nvim_lua = {kind = "  "},
+		nvim_lua = false,
         spell = {kind = "  "},
         tags = false,
         -- snippets_nvim = {kind = "  "},

+ 1 - 1
lua/nv-globals.lua

@@ -6,7 +6,7 @@ O = {
         linter = '',
         formatter = '',
         autoformat = false,
-        diagnostics = {virtual_text = false, signs = false, underline = false}
+        diagnostics = {virtual_text = true, signs = true, underline = true}
     },
     javascript = {linter = '', formatter = '', autoformat = false, virtual_text = true},
     javascriptreact = {linter = '', formatter = '', autoformat = false, virtual_text = true},