Disable comment symbol in new line #366
-
| 
         How I can disable putting the comment symbol in a new line if I press enter?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            otakutyrant
          
      
      
        Jul 6, 2023 
      
    
    Replies: 2 comments
-
| 
         It may be related to   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        MannyFay
-
| 
         @otakutyrant thanks to your hint :) The following option in my  vim.opt.formatoptions:remove({ 'r', 'o', 'n', 'l' }) | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
It may be related to
formatoptions. Readh: formatoptions.