default-config.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. rainbow = {enabled = false}
  23. },
  24. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  25. plugin = {
  26. hop = {active = false},
  27. dial = {active = false},
  28. dashboard = {active = false},
  29. matchup = {active = false},
  30. colorizer = {active = false},
  31. numb = {active = false},
  32. ts_playground = {active = false},
  33. indent_line = {active = false},
  34. ts_context_commentstring = {active = false}
  35. },
  36. lang = {
  37. python = {
  38. active = false,
  39. linter = '',
  40. -- @usage can be 'yapf', 'black'
  41. formatter = '',
  42. autoformat = false,
  43. isort = false,
  44. diagnostics = {
  45. virtual_text = {spacing = 0, prefix = ""},
  46. signs = true,
  47. underline = true
  48. },
  49. analysis = {
  50. type_checking = "basic",
  51. auto_search_paths = true,
  52. use_library_code_types = true
  53. }
  54. },
  55. dart = {
  56. active = false,
  57. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  58. },
  59. lua = {
  60. active = false,
  61. -- @usage can be 'lua-format'
  62. formatter = '',
  63. autoformat = false,
  64. diagnostics = {
  65. virtual_text = {spacing = 0, prefix = ""},
  66. signs = true,
  67. underline = true
  68. }
  69. },
  70. sh = {
  71. active = false,
  72. -- @usage can be 'shellcheck'
  73. linter = '',
  74. -- @usage can be 'shfmt'
  75. formatter = '',
  76. autoformat = false,
  77. diagnostics = {
  78. virtual_text = {spacing = 0, prefix = ""},
  79. signs = true,
  80. underline = true
  81. }
  82. },
  83. tsserver = {
  84. active = false,
  85. -- @usage can be 'eslint'
  86. linter = '',
  87. -- @usage can be 'prettier'
  88. formatter = '',
  89. autoformat = false,
  90. diagnostics = {
  91. virtual_text = {spacing = 0, prefix = ""},
  92. signs = true,
  93. underline = true
  94. }
  95. },
  96. json = {
  97. active = false,
  98. -- @usage can be 'prettier'
  99. formatter = '',
  100. autoformat = false,
  101. diagnostics = {
  102. virtual_text = {spacing = 0, prefix = ""},
  103. signs = true,
  104. underline = true
  105. }
  106. },
  107. tailwindcss = {
  108. active = false,
  109. filetypes = {
  110. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  111. 'typescript', 'typescriptreact'
  112. }
  113. },
  114. clang = {
  115. active = false,
  116. diagnostics = {
  117. virtual_text = {spacing = 0, prefix = ""},
  118. signs = true,
  119. underline = true
  120. }
  121. },
  122. ruby = {
  123. active = false,
  124. diagnostics = {
  125. virtualtext = {spacing = 0, prefix = ""},
  126. signs = true,
  127. underline = true
  128. },
  129. filetypes = {'rb', 'erb', 'rakefile'}
  130. },
  131. go = {active = false},
  132. elixer = {active = false},
  133. vim = {active = false},
  134. yaml = {active = false},
  135. terraform = {active = false},
  136. rust = {active = false},
  137. svelte = {active = false},
  138. php = {active = false},
  139. latex = {active = false},
  140. kotlin = {active = false},
  141. html = {active = false},
  142. elm = {active = false},
  143. emmet = {active = false},
  144. graphql = {active = false},
  145. efm = {active = true},
  146. docker = {active = false},
  147. cmake = {active = false},
  148. java = {active = false},
  149. css = {
  150. active = false,
  151. formatter = '',
  152. autoformat = false,
  153. virtual_text = true
  154. }
  155. },
  156. dashboard = {
  157. custom_header = {
  158. ' _..._ ',
  159. ' .\' (_`. _ __ ___ ',
  160. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  161. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  162. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  163. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  164. },
  165. footer = {'chrisatmachine.com'}
  166. }
  167. }