default-config.lua 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. CONFIG_PATH = vim.fn.stdpath('config')
  2. DATA_PATH = vim.fn.stdpath('data')
  3. CACHE_PATH = vim.fn.stdpath('cache')
  4. O = {
  5. auto_close_tree = 0,
  6. auto_complete = true,
  7. colorscheme = 'lunar',
  8. hidden_files = true,
  9. wrap_lines = false,
  10. number = true,
  11. relative_number = true,
  12. cursorline = true,
  13. shell = 'bash',
  14. timeoutlen = 100,
  15. nvim_tree_disable_netrw = 0,
  16. extras = false,
  17. -- @usage pass a table with your desired languages
  18. treesitter = {
  19. ensure_installed = "all",
  20. ignore_install = {"haskell"},
  21. highlight = {enabled = true},
  22. playground = {enabled = true},
  23. rainbow = {enabled = false}
  24. },
  25. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  26. plugin = {
  27. hop = {active = false},
  28. dial = {active = false},
  29. dashboard = {active = false},
  30. zen = {active = false}
  31. },
  32. lang = {
  33. python = {
  34. active = false,
  35. linter = '',
  36. -- @usage can be 'yapf', 'black'
  37. formatter = '',
  38. autoformat = false,
  39. isort = false,
  40. diagnostics = {
  41. virtual_text = {spacing = 0, prefix = ""},
  42. signs = true,
  43. underline = true
  44. },
  45. analysis = {
  46. type_checking = "basic",
  47. auto_search_paths = true,
  48. use_library_code_types = true
  49. }
  50. },
  51. dart = {
  52. active = false,
  53. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  54. },
  55. lua = {
  56. active = false,
  57. -- @usage can be 'lua-format'
  58. formatter = '',
  59. autoformat = false,
  60. diagnostics = {
  61. virtual_text = {spacing = 0, prefix = ""},
  62. signs = true,
  63. underline = true
  64. }
  65. },
  66. sh = {
  67. active = false,
  68. -- @usage can be 'shellcheck'
  69. linter = '',
  70. -- @usage can be 'shfmt'
  71. formatter = '',
  72. autoformat = false,
  73. diagnostics = {
  74. virtual_text = {spacing = 0, prefix = ""},
  75. signs = true,
  76. underline = true
  77. }
  78. },
  79. tsserver = {
  80. active = false,
  81. -- @usage can be 'eslint'
  82. linter = '',
  83. -- @usage can be 'prettier'
  84. formatter = '',
  85. autoformat = false,
  86. diagnostics = {
  87. virtual_text = {spacing = 0, prefix = ""},
  88. signs = true,
  89. underline = true
  90. }
  91. },
  92. json = {
  93. active = false,
  94. -- @usage can be 'prettier'
  95. formatter = '',
  96. autoformat = false,
  97. diagnostics = {
  98. virtual_text = {spacing = 0, prefix = ""},
  99. signs = true,
  100. underline = true
  101. }
  102. },
  103. tailwindcss = {
  104. active = false,
  105. filetypes = {
  106. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  107. 'typescript', 'typescriptreact'
  108. }
  109. },
  110. clang = {
  111. active = false,
  112. diagnostics = {
  113. virtual_text = {spacing = 0, prefix = ""},
  114. signs = true,
  115. underline = true
  116. }
  117. },
  118. ruby = {
  119. active = false,
  120. diagnostics = {
  121. virtualtext = {spacing = 0, prefix = ""},
  122. signs = true,
  123. underline = true
  124. },
  125. filetypes = {'rb', 'erb', 'rakefile'}
  126. },
  127. go = {active = false},
  128. elixer = {active = false},
  129. vim = {active = false},
  130. yaml = {active = false},
  131. terraform = {active = false},
  132. rust = {active = false},
  133. svelte = {active = false},
  134. php = {active = false},
  135. latex = {active = false},
  136. kotlin = {active = false},
  137. html = {active = false},
  138. elm = {active = false},
  139. emmet = {active = false},
  140. graphql = {active = false},
  141. efm = {active = true},
  142. docker = {active = false},
  143. cmake = {active = false},
  144. java = {active = false},
  145. css = {
  146. active = false,
  147. formatter = '',
  148. autoformat = false,
  149. virtual_text = true
  150. }
  151. },
  152. dashboard = {
  153. custom_header = {
  154. ' _..._ ',
  155. ' .\' (_`. _ __ ___ ',
  156. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  157. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  158. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  159. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  160. },
  161. footer = {'chrisatmachine.com'}
  162. }
  163. }